Compare commits

...

4 Commits

Author SHA1 Message Date
Barret Schloerke
e1522af8cf Update build-docs-on-tag.yml 2025-10-01 15:55:09 -04:00
Barret Schloerke
abe4743a74 Update build-docs-on-tag.yml 2025-10-01 15:13:18 -04:00
Barret Schloerke
2af1fe8697 Use repository dispatch to reach the private repo 2025-10-01 15:06:47 -04:00
Barret Schloerke
93ee877838 Create build-docs-on-tag.yml 2025-10-01 14:38:16 -04:00

25
.github/workflows/build-docs-on-tag.yml vendored Normal file
View File

@@ -0,0 +1,25 @@
name: Update website docs given new release tag
on:
push:
branches:
- build_docs
tags:
- "v*"
jobs:
trigger-build:
runs-on: ubuntu-latest
steps:
- name: Send repository dispatch event
uses: actions/github-script@v8
with:
github-token: ${{ secrets.SHINY_DEV_CENTER_GITHUB_TOKEN }}
script: |
await github.rest.repos.createDispatchEvent({
owner: 'rstudio',
repo: 'shiny-dev-center',
event_type: 'build-r-reference',
client_payload: {}
});