Fix crowdin command to ignore no-changes
This commit is contained in:
@ -95,8 +95,13 @@ steps:
|
|||||||
- npx @crowdin/cli pull -b main -T $CTOKEN
|
- npx @crowdin/cli pull -b main -T $CTOKEN
|
||||||
- yarn prettier --write .
|
- yarn prettier --write .
|
||||||
- git add .
|
- git add .
|
||||||
- 'git commit -a -m "chore: Update translations"'
|
- |
|
||||||
- git push -u origin main
|
if output=$(git status --porcelain) && [ -z "$output" ]; then
|
||||||
|
# Working directory clean
|
||||||
|
else
|
||||||
|
git commit -a -m "chore: Update translations"
|
||||||
|
git push -u origin main
|
||||||
|
fi
|
||||||
volumes:
|
volumes:
|
||||||
- name: cache
|
- name: cache
|
||||||
claim:
|
claim:
|
||||||
|
Reference in New Issue
Block a user