Trigger develop docs rebuild on push (#25860)

This commit is contained in:
Joel Challis 2025-12-08 22:26:14 +00:00 committed by GitHub
parent 505e5c7033
commit a86322e4a7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,3 +63,16 @@ jobs:
folder: .build/docs folder: .build/docs
git-config-name: QMK Bot git-config-name: QMK Bot
git-config-email: hello@qmk.fm 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',
})