Skip to content

Commit

Permalink
update docs on push
Browse files Browse the repository at this point in the history
  • Loading branch information
yznts committed Jan 28, 2024
1 parent 9225735 commit 91646a0
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: Documentation update

on:
push:
branches:
- 'main'

jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Dispatch workflow
uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT_TOKEN }}
script: |
await github.rest.actions.createWorkflowDispatch({
owner: 'kyoto-framework',
repo: 'docs.kyoto.codes',
workflow_id: 'release.yml',
ref: 'main'
})

0 comments on commit 91646a0

Please sign in to comment.