Add action to update the Weblate repository

This commit is contained in:
Johannes Meyer 2021-12-14 07:53:33 +01:00
parent 8e65a5e10e
commit 826494093f
1 changed files with 15 additions and 0 deletions

15
.github/workflows/weblate-update.yml vendored Normal file
View File

@ -0,0 +1,15 @@
name: Weblate Update
on:
push:
branches:
- master
jobs:
trigger-update:
name: Weblate Update Trigger
runs-on: ubuntu-latest
steps:
- name: Repository update
run: 'curl -d operation=pull -H "Authorization: Token ${{ secrets.WEBLATE_TOKEN }}" https://translate.icinga.com/api/projects/icinga/repository/'