Merge pull request #20 from smart-on-fhir/mikix/docs #1
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/**"] | |
jobs: | |
update-docs: | |
name: Update Cumulus docs | |
runs-on: ubuntu-latest | |
steps: | |
- name: Send workflow dispatch | |
uses: actions/github-script@v7 | |
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', | |
}) |