mirror of
https://github.com/DiscordSRV/Ascension.git
synced 2024-11-22 11:55:54 +01:00
Tweak crowdin workflows
This commit is contained in:
parent
674ddea340
commit
2518bfc971
12
.github/workflows/crowdin-download.yaml
vendored
12
.github/workflows/crowdin-download.yaml
vendored
@ -16,15 +16,19 @@ jobs:
|
||||
with:
|
||||
upload_sources: false
|
||||
upload_translations: false
|
||||
download_sources: false
|
||||
download_translations: true
|
||||
download_translations_args: "--verbose"
|
||||
|
||||
localization_branch_name: i18n
|
||||
create_pull_request: true
|
||||
commit_message: "New Crowdin translations"
|
||||
pull_request_title: "New Crowdin translations"
|
||||
pull_request_body: ""
|
||||
source: "i18n/build/source.yaml"
|
||||
translation: "/%three_letters_code%.yaml"
|
||||
download_translations_args: "--verbose"
|
||||
pull_request_base_branch_name: "main"
|
||||
|
||||
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
source: "i18n/build/source.yaml"
|
||||
translation: "/i18n/src/main/resources/translations/%three_letters_code%.%file_extension%"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
6
.github/workflows/crowdin-upload.yaml
vendored
6
.github/workflows/crowdin-upload.yaml
vendored
@ -26,10 +26,12 @@ jobs:
|
||||
with:
|
||||
upload_sources: true
|
||||
upload_translations: false
|
||||
download_sources: false
|
||||
download_translations: false
|
||||
source: "i18n/build/source.yaml"
|
||||
translation: "/%three_letters_code%.yaml"
|
||||
|
||||
project_id: ${{ secrets.CROWDIN_PROJECT_ID }}
|
||||
token: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
|
||||
source: "i18n/build/source.yaml"
|
||||
translation: "/i18n/src/main/resources/translations/%three_letters_code%.%file_extension%"
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
|
Loading…
Reference in New Issue
Block a user