From db3995c3cc786208d4363c45a2d5b59526f8d561 Mon Sep 17 00:00:00 2001 From: peterleimbach Date: Tue, 22 Oct 2024 13:11:30 +0200 Subject: [PATCH] Create manual-trigger-only-chinese-build.yml --- .../manual-trigger-only-chinese-build.yml | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/manual-trigger-only-chinese-build.yml diff --git a/.github/workflows/manual-trigger-only-chinese-build.yml b/.github/workflows/manual-trigger-only-chinese-build.yml new file mode 100644 index 000000000000..b0bbfe96a352 --- /dev/null +++ b/.github/workflows/manual-trigger-only-chinese-build.yml @@ -0,0 +1,21 @@ +name: manual Trigger Only Traditional und Simplified Chinese RTD Builds + +on: + workflow_dispatch: + +jobs: + curl: + runs-on: ubuntu-latest + steps: + - name: Extract branch name + shell: bash + run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})" + id: extract_branch + - name: curl + uses: wei/curl@v1 + with: + args: -X POST -d "branches=${{ steps.extract_branch.outputs.branch }}" -d "token=${{ secrets.RTD_WEBHOOK_KEY_ZH_CN }}" https://readthedocs.org/api/v2/webhook/androidaps/281205/ + - name: curl + uses: wei/curl@v1 + with: + args: -X POST -d "branches=${{ steps.extract_branch.outputs.branch }}" -d "token=${{ secrets.RTD_WEBHOOK_KEY_ZH_TW }}" https://readthedocs.org/api/v2/webhook/androidaps/281206/