Skip to content

Commit

Permalink
Added CI for public docsite
Browse files Browse the repository at this point in the history
  • Loading branch information
dogversioning committed Jan 29, 2024
1 parent 70cc237 commit 04615fd
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/pages.yaml
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',
})

0 comments on commit 04615fd

Please sign in to comment.