Merge pull request #146 from czi-catalystproject/l10n #13
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Upload sources to Crowdin | |
on: | |
push: | |
paths: | |
- locale/es_LA/** | |
- media/** | |
branches: [ main ] | |
workflow_dispatch: | |
permissions: | |
contents: write | |
pull-requests: write | |
jobs: | |
synchronize-with-crowdin: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Crowdin upload action | |
uses: crowdin/github-action@v1 | |
with: | |
upload_sources: true | |
upload_translations: false | |
download_translations: false | |
localization_branch_name: l10n | |
crowdin_branch_name: l10n | |
config: ./crowdin.yml | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_API_TOKEN: ${{ secrets.CROWDIN_API_TOKEN }} |