aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoel Challis2025-12-08 23:26:14 +0100
committerGitHub2025-12-08 23:26:14 +0100
commita86322e4a7747500b25cdc57438c2ae06473760e (patch)
tree01025f7ef1a95ea7eb62a1014785ce58fbb1269b
parent505e5c7033f841e277e227718ed328cf64c8a2fc (diff)
Trigger develop docs rebuild on push (#25860)
-rw-r--r--.github/workflows/docs.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml
index 20a1372f26..d3b032248f 100644
--- a/.github/workflows/docs.yml
+++ b/.github/workflows/docs.yml
@@ -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',
+ })