Skip to content

Commit d7e008f

Browse files
authored
Add workflow for Crowdin translation upload
1 parent 3492549 commit d7e008f

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Crowdin New Translation Upload
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
synchronize-with-crowdin:
8+
runs-on: ubuntu-latest
9+
if: github.repository == 'PhotoboothProject/photobooth'
10+
11+
steps:
12+
- name: Checkout
13+
uses: actions/checkout@v4
14+
15+
- name: Crowdin Sync
16+
uses: crowdin/github-action@v2.12.0
17+
with:
18+
upload_sources: true
19+
upload_translations: true
20+
import_eq_suggestions: true
21+
push_translations: false
22+
download_translations: false
23+
config: 'crowdin_config.yml'
24+
env:
25+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
26+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}

0 commit comments

Comments
 (0)