diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index b9d8146..f9d4d1f 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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