Do the same for auth and web

This commit is contained in:
Manav Rathi 2024-03-04 16:27:35 +05:30
parent 160c1c79df
commit 4b5d355dec
2 changed files with 8 additions and 2 deletions

View file

@ -2,9 +2,11 @@ name: "Sync Crowdin translations (auth)"
on:
push:
# Run action when auth's intl_en.arb is changed
paths:
# Run action when auth's intl_en.arb is changed
- "mobile/lib/l10n/arb/app_en.arb"
# Or the workflow itself is changed
- ".github/workflows/auth-crowdin.yml"
branches: [main]
schedule:
# Run every 24 hours - https://crontab.guru/#0_*/24_*_*_*
@ -23,6 +25,7 @@ jobs:
uses: crowdin/github-action@v1
with:
base_path: "auth/"
config: "auth/crowdin.yml"
upload_sources: true
upload_translations: true
download_translations: true

View file

@ -2,9 +2,11 @@ name: "Sync Crowdin translations (mobile)"
on:
push:
# Run action when mobiles's intl_en.arb is changed
paths:
# Run action when mobiles's intl_en.arb is changed
- "mobile/lib/l10n/intl_en.arb"
# Or the workflow itself is changed
- ".github/workflows/mobile-crowdin.yml"
branches: [main]
schedule:
# Run every 24 hours - https://crontab.guru/#0_*/24_*_*_*
@ -23,6 +25,7 @@ jobs:
uses: crowdin/github-action@v1
with:
base_path: "mobile/"
config: "mobile/crowdin.yml"
upload_sources: true
upload_translations: true
download_translations: true