This commit is contained in:
parent
6589509e23
commit
fd316a567c
1 changed files with 2 additions and 2 deletions
|
@ -6,7 +6,7 @@ jobs:
|
||||||
container:
|
container:
|
||||||
image: nixos/nix:2.24.9
|
image: nixos/nix:2.24.9
|
||||||
steps:
|
steps:
|
||||||
- name: Clone repo and connect to ssh
|
- name: Clone repo and connect to ssh
|
||||||
run: |
|
run: |
|
||||||
cat /etc/os-release
|
cat /etc/os-release
|
||||||
nix-shell -p git ssh-agents nixos-rebuild
|
nix-shell -p git ssh-agents nixos-rebuild
|
||||||
|
@ -17,4 +17,4 @@ jobs:
|
||||||
eval $(ssh-agent -s)
|
eval $(ssh-agent -s)
|
||||||
ssh-add id_ed25519.pub
|
ssh-add id_ed25519.pub
|
||||||
ssh -o StrictHostKeyChecking=accept-new tbarnouin@192.168.1.40 echo "All set !"
|
ssh -o StrictHostKeyChecking=accept-new tbarnouin@192.168.1.40 echo "All set !"
|
||||||
nixos-rebuild --target-host root@192.168.1.40 switch --flake .#nginx
|
nix --extra-experimental-features nix-command --extra-experimental-features flakes flake check
|
||||||
|
|
Loading…
Reference in a new issue