Skip to content

Commit

Permalink
Force CAWG site publish when updating Antora UI
Browse files Browse the repository at this point in the history
  • Loading branch information
scouten-adobe committed Feb 2, 2024
1 parent a9f9e0d commit fe1d535
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,3 +67,15 @@ jobs:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4

- name: Trigger creator-assertions.github.io publish
uses: actions/github-script@v7
with:
github-token: ${{ secrets.PUBLISH_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'creator-assertions',
repo: 'creator-assertions.github.io',
workflow_id: 'publish.yml',
ref: 'main'
})

0 comments on commit fe1d535

Please sign in to comment.