diff --git a/.drone.yaml b/.drone.yaml index 5f9c509..53dba4c 100644 --- a/.drone.yaml +++ b/.drone.yaml @@ -53,9 +53,13 @@ steps: - yarn install - npx @crowdin/cli upload sources -b main -T $CTOKEN - npx @crowdin/cli pull -b main -T $CTOKEN + - yarn prettier --write . - git add . - - 'git commit -a -m "chore: Update translations"' - - git push -u origin main + - > + if output=$(git status --porcelain) && [ -n "$output" ]; then + git commit -a -m "chore: Update translations" + git push -u origin main + fi volumes: - name: cache claim: