Merge pull request #1513 from opencast/dependabot/npm_and_yarn/i18nex… #19
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: Crowdin » Upload keys | |
on: | |
push: | |
branches: | |
- main | |
concurrency: | |
group: crowdin | |
cancel-in-progress: true | |
jobs: | |
deploy-translation-keys: | |
if: github.repository_owner == 'opencast' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: prepare crowdin client | |
run: | | |
wget --quiet https://artifacts.crowdin.com/repo/deb/crowdin3.deb -O crowdin.deb | |
sudo dpkg -i crowdin.deb | |
- name: upload translation source | |
env: | |
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} | |
run: | | |
crowdin upload sources --config .crowdin.yaml -b main |