This commit is contained in:
parent
a6a0cc35b4
commit
fceb9cc7fd
1 changed files with 2 additions and 2 deletions
|
|
@ -22,10 +22,10 @@ jobs:
|
||||||
chmod -R 600 /root/.ssh
|
chmod -R 600 /root/.ssh
|
||||||
- name: copy repo to target
|
- name: copy repo to target
|
||||||
run: rsync -az . root@toufy.me:/etc/nixos
|
run: rsync -az . root@toufy.me:/etc/nixos
|
||||||
- name: nixos-rebuild test
|
- name: nixos-rebuild dry-activate
|
||||||
run: |
|
run: |
|
||||||
set -e
|
set -e
|
||||||
ssh root@toufy.me -C "nixos-rebuild test --flake /etc/nixos --impure"
|
ssh root@toufy.me -C "nixos-rebuild dry-activate --flake /etc/nixos --impure"
|
||||||
[ "$?" == 0 ] || exit 1
|
[ "$?" == 0 ] || exit 1
|
||||||
- name: nixos-rebuild switch
|
- name: nixos-rebuild switch
|
||||||
run: |
|
run: |
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue