ci: test
This commit is contained in:
parent
59c244483a
commit
7772a0daee
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ build:
|
||||||
before_script:
|
before_script:
|
||||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||||
# use the new flake
|
# use the new flake
|
||||||
- git pull
|
- git pull origin main
|
||||||
script:
|
script:
|
||||||
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- build
|
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- build
|
||||||
|
|
||||||
|
@ -57,7 +57,7 @@ deploy:
|
||||||
- chmod 700 ~/.ssh
|
- chmod 700 ~/.ssh
|
||||||
# load nix environment
|
# load nix environment
|
||||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||||
- git pull
|
- git pull origin main
|
||||||
script:
|
script:
|
||||||
# dns is always deployed first
|
# dns is always deployed first
|
||||||
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- apply --on @active-dns
|
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- apply --on @active-dns
|
||||||
|
|
Loading…
Reference in a new issue