From 2f4d6d20fd3fc0ff0ddeef7a9137483cc554b2ae Mon Sep 17 00:00:00 2001 From: Kieran Date: Tue, 14 Nov 2023 15:13:51 +0000 Subject: [PATCH] chore: update build --- .drone.yaml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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: