CI: Fixed typo.
This commit is contained in:
@ -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
|
||||
|
@ -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
|
||||
|
Reference in New Issue
Block a user