diff options
| author | Joel Challis | 2025-12-09 01:21:25 +0100 |
|---|---|---|
| committer | GitHub | 2025-12-09 01:21:25 +0100 |
| commit | 73a6496516c165a8d7ec023513f7fd32cd7bc78f (patch) | |
| tree | 61f3bd9ef6c3b641499973eb8567390c1870b51e /.github | |
| parent | c8f6e6a936d4c041b0ca01b83f632016ff86ea39 (diff) | |
Trigger develop docs rebuild on push (#25863)
Diffstat (limited to '.github')
| -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 @@ +name: Generate Develop Docs + +permissions: + contents: write + +on: + push: + branches: + - develop + paths: + - 'builddefs/docsgen/**' + - 'tmk_core/**' + - 'quantum/**' + - 'platforms/**' + - 'docs/**' + - '.github/workflows/docs.yml' + +jobs: + generate: + runs-on: ubuntu-latest + + steps: + - name: Deploy Develop + if: ${{ 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', + }) |