From 826494093f00ae8e27c023f383ffcbc7aa29a4f8 Mon Sep 17 00:00:00 2001 From: Johannes Meyer Date: Tue, 14 Dec 2021 07:53:33 +0100 Subject: [PATCH] Add action to update the Weblate repository --- .github/workflows/weblate-update.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/weblate-update.yml diff --git a/.github/workflows/weblate-update.yml b/.github/workflows/weblate-update.yml new file mode 100644 index 00000000..cd1e1aae --- /dev/null +++ b/.github/workflows/weblate-update.yml @@ -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/'