Skip to content

Commit

Permalink
chore: disable book for dev branch (#1825)
Browse files Browse the repository at this point in the history
  • Loading branch information
nhtyy authored Nov 27, 2024
1 parent e66f998 commit 15be73d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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: [dev]
branches: [main]
pull_request:
branches: [dev]
branches: [main]
paths:
- "book/**"
merge_group:
Expand Down Expand Up @@ -117,7 +117,7 @@ jobs:

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

Expand All @@ -135,4 +135,4 @@ jobs:
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
uses: actions/deploy-pages@v4

0 comments on commit 15be73d

Please sign in to comment.