Skip to content

Commit 033d78a

Browse files
authored
Add GitHub Actions workflow to pull translations
1 parent 0869598 commit 033d78a

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/pull.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Pull changed translations from Lokalise
2+
on:
3+
workflow_dispatch:
4+
jobs:
5+
build:
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout Repo
9+
uses: actions/checkout@v4
10+
with:
11+
fetch-depth: 0
12+
- name: Pull from Lokalise
13+
uses: lokalise/[email protected]
14+
with:
15+
api_token: ${{ secrets.LOKALISE_API_TOKEN }}
16+
project_id: 18122020690d152873da30.32552063
17+
base_lang: en
18+
translations_path: translationFiles
19+
file_format: json
20+
file_ext: json

0 commit comments

Comments
 (0)