Skip to content

Commit b9bb6c7

Browse files
committed
Allow develop branch to deploy preview
1 parent bfaf349 commit b9bb6c7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

.github/workflows/deploy-pages.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Deploy to GitHub Pages
22

33
on:
44
push:
5-
branches: [main]
5+
branches: [main, develop]
66
workflow_dispatch:
77

88
permissions:
@@ -99,6 +99,7 @@ jobs:
9999
uses: actions/deploy-pages@v5
100100

101101
deploy-wp:
102+
if: github.ref == 'refs/heads/main'
102103
runs-on: ubuntu-latest
103104
steps:
104105
- uses: actions/checkout@v6

0 commit comments

Comments
 (0)