fix(CI): Wrong branch to push.

This commit is contained in:
Terry Geng 2020-07-12 21:15:37 +08:00
parent d34e670fc5
commit c030ff0088
No known key found for this signature in database
GPG Key ID: F982F8EA1DF720E7

View File

@ -145,7 +145,8 @@ steps:
- |
if git commit -a -m 'Bot: Update translation'; then
git remote set-url origin https://azlux:$GITHUB_API@github.com/azlux/botamusique/
git push --set-upstream origin new-translations && git push
git push origin bot-traduora
sleep 2
GITHUB_USER="azlux" GITHUB_TOKEN="$GITHUB_API" hub pull-request -m "Bot: TRADUORA Update"
fi