Skip to content

Commit ecfb700

Browse files
authored
Update docs-deploy.yml
1 parent c54db88 commit ecfb700

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

.github/workflows/docs-deploy.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
name: "docs-deploy"
2+
concurrency: "docs-deploy"
23

34
on:
45
push:
@@ -7,11 +8,17 @@ on:
78
paths:
89
- 'docs/**'
910

11+
workflow_run:
12+
branches: [ main ]
13+
workflows: [ 'release' ]
14+
types: [ completed ]
15+
1016
workflow_dispatch:
1117

1218
jobs:
1319
deploy:
1420
name: 📃 Deploy new version bunit.dev
21+
if: github.ref == 'refs/heads/stable' || ${{ github.event.workflow_run.conclusion == 'success' }}
1522
runs-on: windows-latest
1623
steps:
1724

0 commit comments

Comments
 (0)