Skip to content

Commit f98f279

Browse files
committed
Try to build docs on pull requests
1 parent 84bebe2 commit f98f279

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/docs.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- main
6+
pull_request:
7+
branches:
8+
- main
69

710
permissions:
811
contents: write
@@ -35,6 +38,7 @@ jobs:
3538
cp -r test_zig_project/site site/demo
3639
3740
- name: Deploy docs
41+
if: github.event_name != 'pull_request'
3842
uses: JamesIves/github-pages-deploy-action@v4
3943
with:
4044
git-config-name: github-actions[bot]

0 commit comments

Comments
 (0)