Fix bot push auth: use URL-embedded credentials instead of a hand-built header
CI / build-and-scan (push) Successful in 1m11s
CI / build-and-scan (push) Successful in 1m11s
This commit is contained in:
@@ -95,8 +95,7 @@ jobs:
|
||||
git add VERSION
|
||||
git commit -m "Bump build version to $NEW_VERSION [skip ci]"
|
||||
|
||||
AUTH=$(printf 'Djeex:%s' "${{ secrets.CI_PUSH_TOKEN }}" | base64)
|
||||
git -c http.extraHeader="Authorization: Basic $AUTH" push origin HEAD:main
|
||||
git push "https://Djeex:${{ secrets.CI_PUSH_TOKEN }}@git.djeex.fr/Djeex/adguard-cidre.git" HEAD:main
|
||||
fi
|
||||
|
||||
VERSION=$(tr -d '[:space:]' < VERSION)
|
||||
|
||||
Reference in New Issue
Block a user