ci: pull the current branch

This commit is contained in:
silver 2023-08-09 20:31:31 +01:00
parent d630c72488
commit 8e489c1616

View file

@ -43,7 +43,7 @@ update:
.scripts_base: &scripts_base .scripts_base: &scripts_base
# load nix environment # load nix environment
- . "$HOME/.nix-profile/etc/profile.d/nix.sh" - . "$HOME/.nix-profile/etc/profile.d/nix.sh"
- git pull origin main - git pull origin $CI_COMMIT_REF_NAME
.scripts_deploy: &scripts_deploy .scripts_deploy: &scripts_deploy
# setup ssh key # setup ssh key