feat(tools): enable german docs download (#44994)

This commit is contained in:
Naomi Carrigan
2022-02-10 10:14:21 -08:00
committed by GitHub
parent 5e12ca5dc9
commit 2147038e76

View File

@ -235,6 +235,41 @@ jobs:
# Uncomment below to debug # Uncomment below to debug
# dryrun_action: true # dryrun_action: true
env:
GITHUB_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }}
CROWDIN_PERSONAL_TOKEN:
${{ secrets.CROWDIN_CAMPERBOT_SERVICE_TOKEN }}
##### Download German #####
- name: Crowdin Download German Translations
uses: crowdin/github-action@master
# options: https://github.com/crowdin/github-action/blob/master/action.yml
with:
# uploads
upload_sources: false
upload_translations: false
auto_approve_imported: false
import_eq_suggestions: false
# downloads
download_translations: true
download_language: de
skip_untranslated_files: false
export_only_approved: true
push_translations: false
# pull-request
create_pull_request: false
# global options
config: './crowdin-config.yml'
base_url: ${{ secrets.CROWDIN_BASE_URL_FCC }}
# Uncomment below to debug
# dryrun_action: true
env: env:
GITHUB_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_PAT }} GITHUB_TOKEN: ${{ secrets.CROWDIN_CAMPERBOT_PAT }}
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }} CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID_DOCS }}