We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7148c43 commit 13dc1efCopy full SHA for 13dc1ef
.github/workflows/docs-deploy.yml
@@ -1,13 +1,16 @@
1
name: Docs Deploy
2
3
on:
4
- push:
+ workflow_run:
5
+ workflows: ["Docs Build"]
6
+ types: [completed]
7
branches:
- - main
8
+ - "main"
9
10
jobs:
11
docs-deploy:
12
runs-on: ubuntu-latest
13
+ if: ${{ github.event.workflow_run.event == 'push' }}
14
environment:
15
name: docs-deploy
16
steps:
@@ -27,4 +30,3 @@ jobs:
27
30
with:
28
31
folder: docs/build/
29
32
ssh-key: ${{ secrets.DEPLOY_KEY }}
- force: yes
0 commit comments