Merge r/17.x into develop #45
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: Deploy Crowdin keys | |
on: | |
push: | |
branches: | |
- develop | |
- 'r/*.x' | |
concurrency: | |
group: crowdin-${{ github.ref }} | |
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 | |
sudo dpkg -i crowdin3.deb | |
- name: upload translation source | |
env: | |
CROWDIN_TOKEN: ${{ secrets.CROWDIN_TOKEN }} | |
run: | | |
crowdin upload sources --config .crowdin.yaml -b "${GITHUB_REF##*/}" |