Skip to content

Commit 57738cf

Browse files
committed
ci(deploy-docs): enable on PR without uploads
1 parent 4d385bf commit 57738cf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/deploy-docs.yaml

+2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: Deploy Docs
22

33
on:
4+
pull_request:
45
push:
56
branches:
67
- stable
@@ -43,6 +44,7 @@ jobs:
4344
mdbook build
4445
mv book ${{ runner.temp }}/book/dev-guide
4546
- name: Deploy to GitHub
47+
if: ${{ github.event_name != 'pull_request' }}
4648
run: |
4749
cd ${{ runner.temp }}/book
4850
git init

0 commit comments

Comments
 (0)