update ci

This commit is contained in:
WinterMyst 2024-09-22 18:26:14 +02:00
parent 8829860d0f
commit a4b9db93fc

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:${GITLAB_PAT}@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