aboutsummaryrefslogtreecommitdiffstats
path: root/.github/workflows
diff options
context:
space:
mode:
Diffstat (limited to '.github/workflows')
-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',
+ })