From fa13fc139769bcb42921f5ef17d26499ee99df87 Mon Sep 17 00:00:00 2001 From: Brendan Golden Date: Wed, 9 Aug 2023 20:31:31 +0100 Subject: [PATCH] ci: pull the current branch --- .gitlab-ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 195fb79..493c9b9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -43,7 +43,7 @@ update: .scripts_base: &scripts_base # load nix environment - . "$HOME/.nix-profile/etc/profile.d/nix.sh" - - git pull origin main + - git pull origin $CI_COMMIT_REF_NAME .scripts_deploy: &scripts_deploy # setup ssh key