Private
Public Access
1
0

chg: pkg: new version release !skipChangelog
Some checks failed
Deploy to Production / deploy (push) Failing after 0s

This commit is contained in:
2026-04-14 15:37:17 +02:00
parent 5a5467fda9
commit 184925ab13

View File

@@ -15,10 +15,9 @@ jobs:
run: |
set -e
export HOME=/tmp
git config --global credential.helper '!f() { echo "username=oauth2"; echo "password=$GITEA_TOKEN"; }; f'
git config --global --add safe.directory "${{ vars.PROD_APP_DIR }}"
cd "${{ vars.PROD_APP_DIR }}"
AUTHED=$(git remote get-url origin | sed "s|://|://oauth2:${GITEA_TOKEN}@|")
git remote set-url origin "$AUTHED"
git fetch --tags --force
git checkout "${{ gitea.ref_name }}"