1
0

develop_docs.yml 728 B

12345678910111213141516171819202122232425262728293031323334
  1. name: Generate Develop Docs
  2. permissions:
  3. contents: write
  4. on:
  5. push:
  6. branches:
  7. - develop
  8. paths:
  9. - 'builddefs/docsgen/**'
  10. - 'tmk_core/**'
  11. - 'quantum/**'
  12. - 'platforms/**'
  13. - 'docs/**'
  14. - '.github/workflows/docs.yml'
  15. jobs:
  16. generate:
  17. runs-on: ubuntu-latest
  18. steps:
  19. - name: Deploy Develop
  20. if: ${{ github.repository == 'qmk/qmk_firmware' }}
  21. uses: actions/github-script@v9
  22. with:
  23. github-token: ${{ secrets.QMK_BOT_TOKEN }}
  24. script: |
  25. const result = await github.rest.actions.createWorkflowDispatch({
  26. owner: 'qmk',
  27. repo: 'qmk_docs_devel',
  28. workflow_id: 'develop.yml',
  29. ref: 'main',
  30. })