This commit is contained in:
WinterMyst 2024-09-22 18:31:43 +02:00
parent a4b9db93fc
commit 438455c3c7

View File

@ -37,7 +37,7 @@ release:
- git config --global user.name "GitLab CI" - git config --global user.name "GitLab CI"
- git config --global user.email "ci@gitlab.com" - git config --global user.email "ci@gitlab.com"
# Use the PAT for authentication # 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 fetch --unshallow # Ensure we fetch all history for the branch (not a shallow clone)
- git checkout master # Switch to the master branch - git checkout master # Switch to the master branch
- git branch --set-upstream-to=origin/master master # Set the upstream to the master branch - git branch --set-upstream-to=origin/master master # Set the upstream to the master branch