Skip to content

Commit

Permalink
Merge pull request #405 from lkiesow/crowdin-deploy-keys
Browse files Browse the repository at this point in the history
Automatically deploy new Crowdin keys
  • Loading branch information
ziegenberg authored May 21, 2024
2 parents 4e8106c + 937dc8d commit d4ac7bd
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/crowdin-deploy-keys.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Deploy Crowdin keys

on:
push:
branches:
- main

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 main

0 comments on commit d4ac7bd

Please sign in to comment.