CI: Fixed typo.

This commit is contained in:
Terry Geng
2020-11-01 09:45:18 +08:00
parent 4bef53c948
commit ec786375ed
2 changed files with 2 additions and 2 deletions

View File

@ -126,7 +126,7 @@ steps:
from_secret: GITHUB_API
commands:
- apt update && apt install -y git python3-requests hub
- PUSH=1 SOURCE_DIR=$(pwd) ./scripts/commit_new_translation.sh
- PUSH=true SOURCE_DIR=$(pwd) ./scripts/commit_new_translation.sh
node:
location: external

View File

@ -20,7 +20,7 @@ $SOURCE_DIR/scripts/sync_translation.py --lang-dir $SOURCE_DIR/lang/ --client $T
git add lang/*
git status
if $PUSH; then
if [ "$PUSH" = "true" ]; then
echo "=> Pushing updates to bot-traduora branch..."
if GIT_COMMITTER_NAME='Traduora Bot' GIT_COMMITTER_EMAIL='noreply@azlux.fr' git commit -m 'Bot: Update translation' --author "Traduora Bot <noreply@azlux.fr>"; then
git push origin bot-traduora