Merge pull request #789 from willowtreeapps/crowdin/update-translatio… #3
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: Push Strings to Crowdin | |
on: | |
push: | |
branches: [ develop ] | |
workflow_dispatch: | |
inputs: | |
test: | |
description: Just to force the manual trigger | |
required: false | |
default: 'trigger' | |
jobs: | |
synchronize-with-crowdin: | |
runs-on: macos-14 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Install Crowdin CLI | |
run: brew install crowdin | |
shell: sh | |
- name: Upload Sources | |
run: > | |
crowdin upload sources | |
shell: sh | |
env: | |
GITHUB_TOKEN: ${{ secrets.CROWDIN_GITHUB_TOKEN }} | |
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }} | |
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }} |