chore: update drone
Some checks reported errors
continuous-integration/drone/push Build encountered an error

This commit is contained in:
Kieran 2023-05-23 22:45:54 +01:00
parent 5addd65d66
commit aa4802fa44
Signed by: Kieran
GPG Key ID: DE71CEB3925BE941

View File

@ -21,8 +21,6 @@ steps:
CTOKEN: CTOKEN:
from_secret: crowdin_token from_secret: crowdin_token
commands: commands:
- git fetch -a origin
- git switch -c lang 2>/dev/null || git switch -C lang
- git config --global user.email drone@v0l.io - git config --global user.email drone@v0l.io
- git config --global user.name "Drone CI" - git config --global user.name "Drone CI"
- git remote set-url origin https://drone:$TOKEN@git.v0l.io/Kieran/snort.git - git remote set-url origin https://drone:$TOKEN@git.v0l.io/Kieran/snort.git
@ -30,10 +28,9 @@ steps:
- npx @crowdin/cli upload sources -b main -T $CTOKEN - npx @crowdin/cli upload sources -b main -T $CTOKEN
- npx @crowdin/cli pull -b main -T $CTOKEN - npx @crowdin/cli pull -b main -T $CTOKEN
- yarn workspace @snort/app format - yarn workspace @snort/app format
- git diff
- git add . - git add .
- git commit -a -m "Update translations" - git commit -a -m "chore: Update translations"
- git push -u origin lang - git push
volumes: volumes:
- name: cache - name: cache
claim: claim: