mirror of
https://github.com/srid/nixos-config.git
synced 2025-12-26 15:04:59 +08:00
chore: just, better grouping
This commit is contained in:
parent
c6efa50e65
commit
70afdfade5
1 changed files with 5 additions and 4 deletions
9
justfile
9
justfile
|
|
@ -2,6 +2,7 @@ default:
|
|||
@just --list
|
||||
|
||||
# Activate local configuration
|
||||
[group('main')]
|
||||
activate:
|
||||
nix run
|
||||
|
||||
|
|
@ -14,20 +15,20 @@ deploy:
|
|||
colmena apply --build-on-target
|
||||
|
||||
# Deploy to github-runner VM
|
||||
[group('gr')]
|
||||
[group('github-runner')]
|
||||
gr-deploy:
|
||||
colmena apply --build-on-target --on github-runner
|
||||
|
||||
# Re-animate the VM that was suspended until now.
|
||||
[group('gr')]
|
||||
[group('github-runner')]
|
||||
gr-animate:
|
||||
colmena upload-keys
|
||||
ssh -t github-runner "sudo systemctl restart --all github-runner-*"
|
||||
|
||||
[group('gr')]
|
||||
[group('github-runner')]
|
||||
gr-inspect:
|
||||
ssh -t github-runner "sudo systemctl status --all github-runner-*"
|
||||
|
||||
[group('gr')]
|
||||
[group('github-runner')]
|
||||
gr-ssh:
|
||||
ssh -t github-runner
|
||||
Loading…
Add table
Add a link
Reference in a new issue