Study version display (#289) #42
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
name: Update Cumulus docs | |
on: | |
push: | |
branches: ["main"] | |
paths: ["docs/**"] | |
release: | |
types: [created] | |
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', | |
}) |