-
-
Notifications
You must be signed in to change notification settings - Fork 3
37 lines (31 loc) · 874 Bytes
/
crowdin.yml
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
28
29
30
31
32
33
34
35
36
37
# .github/workflows/crowdin.yml
name: Crowdin Action
on:
workflow_dispatch:
push:
branches:
- master
paths:
- 'src/Themes/default/languages/**'
- 'src/Sources/LightPortal/Plugins/**'
- 'docs/.vitepress/locales/**'
- 'docs/src/**'
env:
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }}
jobs:
synchronize-with-crowdin:
runs-on: ubuntu-latest
steps:
- name: Checkout
if: env.CROWDIN_API_TOKEN != null
uses: actions/checkout@v4
- name: Crowdin Action
if: env.CROWDIN_API_TOKEN != null
uses: crowdin/github-action@v1
with:
upload_sources: true
upload_translations: false
download_translations: false
#crowdin_branch_name: 'next'
config: '.github/crowdin.yml'