-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
70cc237
commit 04615fd
Showing
1 changed file
with
24 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Update Cumulus docs | ||
on: | ||
push: | ||
branches: ["main"] | ||
paths: ["docs/**"] | ||
|
||
jobs: | ||
update-docs: | ||
name: Update Cumulus docs | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Send workflow dispatch | ||
uses: actions/github-script@v6 | ||
with: | ||
# This token is set to expire in May 2024. | ||
# You can make a new one with write access to Actions on the cumulus repo. | ||
github-token: ${{ secrets.CUMULUS_DOC_TOKEN }} | ||
script: | | ||
await github.rest.actions.createWorkflowDispatch({ | ||
owner: 'smart-on-fhir', | ||
repo: 'cumulus', | ||
ref: 'main', | ||
workflow_id: 'pages.yaml', | ||
}) |