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:
3
.github/workflows/sendGFWList.yml
vendored
3
.github/workflows/sendGFWList.yml
vendored
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user