-
-
Notifications
You must be signed in to change notification settings - Fork 3
27 lines (22 loc) · 703 Bytes
/
sync.yml
File metadata and controls
27 lines (22 loc) · 703 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Automatically upload translations to Crowdin for every push to the main or dev branch.
# This allows strings to be translated before a new version is released.
name: Synchronize Project
on:
push:
paths:
- 'src/main/resources/assets/dawn/lang/en_us.json'
branches: [main, dev]
jobs:
crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Upload translations source file to Crowdin
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
env:
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}