Skip to content

Commit 912fa77

Browse files
committed
ci(crowdin): fix base_path property in upload crowding workflow
- Fix `base_path` property in crowdin action to point to the current directory. - Update crowdin action version to latest. - Renamed the action file from `download-crowdin` to `upload-crowdin` - Allow running the action manually with workflow dispatch.
1 parent e782528 commit 912fa77

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@ name: Upload translations to Crowdin
22

33
on:
44
push:
5-
paths: ['srg/lang/**']
5+
paths: ['src/lang/**']
66
branches: [main]
7+
workflow_dispatch:
78

89
jobs:
910
crowdin-upload:
@@ -13,13 +14,13 @@ jobs:
1314
uses: actions/checkout@v6
1415

1516
- name: Crowdin push
16-
uses: crowdin/github-action@v1
17+
uses: crowdin/github-action@v2
1718
with:
1819
upload_sources: true
1920
upload_translations: true
2021
download_translations: false
2122

22-
base_path: 'pillarbox-web'
23+
base_path: '.'
2324
source: 'src/lang/en.json'
2425
translation: 'src/lang/%locale%.%file_extension%'
2526
env:

0 commit comments

Comments
 (0)