Skip to content

Commit

Permalink
chore: book workflow deploys on dev
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy committed Jan 16, 2025
1 parent c388dd6 commit 956e696
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ name: book

on:
push:
branches: [main]
branches: [dev]
pull_request:
branches: [main]
branches: [dev]
paths:
- "book/**"
merge_group:
Expand Down Expand Up @@ -46,7 +46,7 @@ jobs:

deploy:
# Only deploy if a push to main
if: github.ref_name == 'main' && github.event_name == 'push'
if: github.ref_name == 'dev' && github.event_name == 'push'
runs-on: ubuntu-latest
needs: [build]

Expand Down

0 comments on commit 956e696

Please sign in to comment.