forked from Kieran/snort
ci: invert if
This commit is contained in:
parent
fb28f5d7df
commit
2a6433a6b4
@ -95,10 +95,8 @@ 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 .
|
||||||
- |
|
- >
|
||||||
if output=$(git status --porcelain) && [ -z "$output" ]; then
|
if output=$(git status --porcelain) && [ -n "$output" ]; then
|
||||||
# Working directory clean
|
|
||||||
else
|
|
||||||
git commit -a -m "chore: Update translations"
|
git commit -a -m "chore: Update translations"
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user