Fix crowdin actions (#665)
Pass the config option to try to get it to pick the right yml ## Tests Tested the web action
This commit is contained in:
commit
77723f5792
3 changed files with 12 additions and 3 deletions
5
.github/workflows/auth-crowdin.yml
vendored
5
.github/workflows/auth-crowdin.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/mobile-crowdin.yml
vendored
5
.github/workflows/mobile-crowdin.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/web-crowdin.yml
vendored
5
.github/workflows/web-crowdin.yml
vendored
|
@ -2,9 +2,11 @@ name: "Sync Crowdin translations (web)"
|
|||
|
||||
on:
|
||||
push:
|
||||
# Run action when web's en-US/translation.json is changed
|
||||
paths:
|
||||
# Run action when web's en-US/translation.json is changed
|
||||
- "web/apps/photos/public/locales/en-US/translation.json"
|
||||
# Or the workflow itself is changed
|
||||
- ".github/workflows/web-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: "web/"
|
||||
config: "web/crowdin.yml"
|
||||
upload_sources: true
|
||||
upload_translations: true
|
||||
download_translations: true
|
||||
|
|
Loading…
Add table
Reference in a new issue