This commit is contained in:
Brendan Golden 2023-07-27 21:14:38 +00:00
parent 59c244483a
commit 7772a0daee

View file

@ -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