diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 06ffbca..e270496 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -37,7 +37,7 @@ release: - git config --global user.name "GitLab CI" - git config --global user.email "ci@gitlab.com" # Use the PAT for authentication - - git remote set-url origin https://oauth2:${ACCESS_TOKEN}@gitlab.com/wintermyst/kidsonbrooms.git + - git remote set-url origin https://oauth2:$ACCESS_TOKEN@gitlab.com/wintermyst/kidsonbrooms.git - git fetch --unshallow # Ensure we fetch all history for the branch (not a shallow clone) - git checkout master # Switch to the master branch - git branch --set-upstream-to=origin/master master # Set the upstream to the master branch