ci: pull the current branch

This commit is contained in:
silver 2023-08-09 20:31:31 +01:00
parent a3e8d80c50
commit fa13fc1397

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