Skip to content

Commit c3b7e01

Browse files
Merge pull request #2134 from openaps/peterleimbach-patch-4
Create manual-trigger-only-chinese-build.yml
2 parents 08af27a + db3995c commit c3b7e01

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: manual Trigger Only Traditional und Simplified Chinese RTD Builds
2+
3+
on:
4+
workflow_dispatch:
5+
6+
jobs:
7+
curl:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Extract branch name
11+
shell: bash
12+
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
13+
id: extract_branch
14+
- name: curl
15+
uses: wei/curl@v1
16+
with:
17+
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/
18+
- name: curl
19+
uses: wei/curl@v1
20+
with:
21+
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/

0 commit comments

Comments
 (0)