This commit is contained in:
WinterMyst 2024-09-22 18:54:50 +02:00
parent 5f86e986cd
commit 5f4ab69c2c

View File

@ -39,7 +39,7 @@ release:
# Use the PAT for authentication # Use the PAT for authentication
- git config --global credential.helper store - git config --global credential.helper store
- echo "https://oauth2:${GITLAB_PAT}@gitlab.com" > ~/.git-credentials - echo "https://oauth2:${GITLAB_PAT}@gitlab.com" > ~/.git-credentials
- git remote set-url origin https://oauth2:${GITLAB_PAT}@gitlab.com:wintermyst/kidsonbrooms.git - git remote set-url origin https://oauth2:${GITLAB_PAT}@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