Skip to content

Commit

Permalink
fix: update .gitlab-ci.yml with non-deprecated envvars
Browse files Browse the repository at this point in the history
See !1
  • Loading branch information
diegoquintanav committed Sep 5, 2023
1 parent ff1c7de commit f5cf286
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -241,8 +241,8 @@ rsync-deploy-dags: # This job runs in the deploy stage and copies a file to a se
- echo "Preparing repository"
- git config --global --add safe.directory "$CI_PROJECT_DIR"

- echo "Checking out branch $CI_BUILD_REF"
- git checkout -B "$CI_BUILD_REF_NAME" "$CI_BUILD_REF"
- echo "Checking out branch $CI_COMMIT_SHA"
- git checkout -B "$CI_COMMIT_REF_NAME" "$CI_COMMIT_SHA"

- echo "Setting up git remote url"
- git -C $CI_PROJECT_DIR remote set-url origin $GIT_CLONE_SSH_URL
Expand Down

0 comments on commit f5cf286

Please sign in to comment.