ci: test 3
This commit is contained in:
parent
bba0156cf8
commit
6b940f5693
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ build:
|
|||
before_script:
|
||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||
# use the new flake
|
||||
- (if [ "$FLAKE_COMMIT" != "" ]; git pull origin $FLAKE_COMMIT; fi);
|
||||
- (if [ "$FLAKE_COMMIT" != "" ]; then git pull origin $FLAKE_COMMIT; fi);
|
||||
script:
|
||||
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- build
|
||||
|
||||
|
@ -63,7 +63,7 @@ deploy:
|
|||
- chmod 700 ~/.ssh
|
||||
# load nix environment
|
||||
- . "$HOME/.nix-profile/etc/profile.d/nix.sh"
|
||||
- (if [ "$FLAKE_COMMIT" != "" ]; git pull origin $FLAKE_COMMIT; fi);
|
||||
- (if [ "$FLAKE_COMMIT" != "" ]; then git pull origin $FLAKE_COMMIT; fi);
|
||||
script:
|
||||
# dns is always deployed first
|
||||
- nix --experimental-features 'nix-command flakes' run nixpkgs#colmena -- apply --on @active-dns
|
||||
|
|
Loading…
Reference in a new issue