add shell fix
Some checks failed
Activate NixOS Homelab Configuration On Push / build-and-activate (push) Failing after 0s
Some checks failed
Activate NixOS Homelab Configuration On Push / build-and-activate (push) Failing after 0s
This commit is contained in:
parent
39f5b1b4f8
commit
a008b0e806
1 changed files with 4 additions and 0 deletions
|
|
@ -8,10 +8,14 @@ jobs:
|
||||||
runs-on: nixos-server
|
runs-on: nixos-server
|
||||||
steps:
|
steps:
|
||||||
- name: Clone
|
- name: Clone
|
||||||
|
shell: /bin/sh -e {0}
|
||||||
run: git clone http://localhost:5080/satr14/nix-flake.git src
|
run: git clone http://localhost:5080/satr14/nix-flake.git src
|
||||||
- name: Build
|
- name: Build
|
||||||
|
shell: /bin/sh -e {0}
|
||||||
run: nixos-rebuild build --flake ./src#homelab
|
run: nixos-rebuild build --flake ./src#homelab
|
||||||
- name: Activate
|
- name: Activate
|
||||||
|
shell: /bin/sh -e {0}
|
||||||
run: sudo nixos-rebuild switch --flake ./src#homelab
|
run: sudo nixos-rebuild switch --flake ./src#homelab
|
||||||
- name: Clean
|
- name: Clean
|
||||||
|
shell: /bin/sh -e {0}
|
||||||
run: rm -rf src
|
run: rm -rf src
|
||||||
Loading…
Add table
Add a link
Reference in a new issue