Trigger develop docs rebuild on push (#25860)
This commit is contained in:
parent
505e5c7033
commit
a86322e4a7
1 changed files with 13 additions and 0 deletions
13
.github/workflows/docs.yml
vendored
13
.github/workflows/docs.yml
vendored
|
|
@ -63,3 +63,16 @@ jobs:
|
|||
folder: .build/docs
|
||||
git-config-name: QMK Bot
|
||||
git-config-email: hello@qmk.fm
|
||||
|
||||
- name: Deploy Develop
|
||||
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/develop' && github.repository == 'qmk/qmk_firmware' }}
|
||||
uses: actions/github-script@v6
|
||||
with:
|
||||
github-token: ${{ secrets.QMK_BOT_TOKEN }}
|
||||
script: |
|
||||
const result = await github.rest.actions.createWorkflowDispatch({
|
||||
owner: 'qmk',
|
||||
repo: 'qmk_docs_devel',
|
||||
workflow_id: 'develop.yml',
|
||||
ref: 'main',
|
||||
})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue