Skip to content

Commit aae3ba7

Browse files
committed
chore: Update workflow to include develop branch and condition for deployment
1 parent dfecb72 commit aae3ba7

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

.github/workflows/docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ on:
1111
pull_request:
1212
branches:
1313
- main
14+
- develop
1415
paths:
1516
- docs/**
1617
- src/**
@@ -56,6 +57,7 @@ jobs:
5657
path: docs/_build/html
5758

5859
deploy:
60+
if: github.event_name == 'push'
5961
needs: build-docs
6062
permissions:
6163
pages: write

0 commit comments

Comments
 (0)