at master 728 B view raw
1name: Generate Develop Docs 2 3permissions: 4 contents: write 5 6on: 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 18jobs: 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@v8 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 })