diff options
| author | Joel Challis <git@zvecr.com> | 2025-12-09 00:21:25 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-12-09 00:21:25 +0000 |
| commit | 73a6496516c165a8d7ec023513f7fd32cd7bc78f (patch) | |
| tree | 61f3bd9ef6c3b641499973eb8567390c1870b51e | |
| parent | c8f6e6a936d4c041b0ca01b83f632016ff86ea39 (diff) | |
Trigger develop docs rebuild on push (#25863)
| -rw-r--r-- | .github/workflows/develop_docs.yml | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/.github/workflows/develop_docs.yml b/.github/workflows/develop_docs.yml new file mode 100644 index 0000000000..4c569da3f8 --- /dev/null +++ b/.github/workflows/develop_docs.yml | |||
| @@ -0,0 +1,34 @@ | |||
| 1 | name: Generate Develop Docs | ||
| 2 | |||
| 3 | permissions: | ||
| 4 | contents: write | ||
| 5 | |||
| 6 | on: | ||
| 7 | push: | ||
| 8 | branches: | ||
| 9 | - develop | ||
| 10 | paths: | ||
| 11 | - 'builddefs/docsgen/**' | ||
| 12 | - 'tmk_core/**' | ||
| 13 | - 'quantum/**' | ||
| 14 | - 'platforms/**' | ||
| 15 | - 'docs/**' | ||
| 16 | - '.github/workflows/docs.yml' | ||
| 17 | |||
| 18 | jobs: | ||
| 19 | generate: | ||
| 20 | runs-on: ubuntu-latest | ||
| 21 | |||
| 22 | steps: | ||
| 23 | - name: Deploy Develop | ||
| 24 | if: ${{ github.repository == 'qmk/qmk_firmware' }} | ||
| 25 | uses: actions/github-script@v6 | ||
| 26 | with: | ||
| 27 | github-token: ${{ secrets.QMK_BOT_TOKEN }} | ||
| 28 | script: | | ||
| 29 | const result = await github.rest.actions.createWorkflowDispatch({ | ||
| 30 | owner: 'qmk', | ||
| 31 | repo: 'qmk_docs_devel', | ||
| 32 | workflow_id: 'develop.yml', | ||
| 33 | ref: 'main', | ||
| 34 | }) | ||
