From 6b940f5693dc2add9815d2e4f808ff3ffc917e2e Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Thu, 27 Jul 2023 20:36:04 +0000 Subject: [PATCH] ci: test 3 --- .gitlab-ci.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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