Skip to content

Commit

Permalink
Merge pull request #1773 from openaps/peterleimbach-patch-4
Browse files Browse the repository at this point in the history
Create trigger-only-english-rtd-build.yml
  • Loading branch information
peterleimbach committed Oct 30, 2023
2 parents 2e11a07 + cc15312 commit d6b8e14
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/trigger-only-english-rtd-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Trigger RTD Build

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_EN }}" https://readthedocs.org/api/v2/webhook/androidaps/145178/

0 comments on commit d6b8e14

Please sign in to comment.