feat: just prod-deploy with upload of locally build artifact
This commit is contained in:
parent
91430f8985
commit
1d7374d387
6
justfile
6
justfile
@ -36,7 +36,13 @@ cp-prod-datastore:
|
||||
|
||||
# Update ascend input and nixos-rebuild switch
|
||||
prod-deploy:
|
||||
# Build on this machine (faster) and copy to prod /nix/store
|
||||
nix copy --to ssh://192.168.1.3 .
|
||||
|
||||
# Update ascend input on prod machine nix configuration
|
||||
ssh 192.168.1.3 'cd /home/plul/repos/gitlab.com/plul/nixexprs; just update-ascend'
|
||||
|
||||
# Switch nix configuration on prod (should be fast as /nix/store should be pre-populated)
|
||||
ssh -t 192.168.1.3 'cd /home/plul/repos/gitlab.com/plul/nixexprs; just switch'
|
||||
|
||||
prod-logs:
|
||||
|
Loading…
x
Reference in New Issue
Block a user