1
0
mirror of https://github.com/gfwlist/gfwlist.git synced 2026-10-24 21:43:53 +08:00

Fix bitbucket push

This commit is contained in:
bocchi810
2026-10-17 21:42:39 +08:00
committed by GitHub
parent bf704d54b2
commit 8993dbec4b

View File

@@ -105,6 +105,5 @@ jobs:
exit 0
fi
export GIT_TERMINAL_PROMPT=0
username="${BITBUCKET_USERNAME:-x-token-auth}"
echo "Syncing $(git rev-parse --short HEAD) to Bitbucket..."
git push --force "https://${username}:${BITBUCKET_TOKEN}@bitbucket.org/gfwlist/gfwlist.git" "HEAD:refs/heads/master"
git push --force "https://x-token-auth:${BITBUCKET_TOKEN}@bitbucket.org/gfwlist/gfwlist.git" "HEAD:refs/heads/master"