Skip to content

Commit

Permalink
workflows: add if condition in deploy book job
Browse files Browse the repository at this point in the history
  • Loading branch information
yukibtc committed Dec 21, 2023
1 parent bcca000 commit 35859bb
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/book.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ concurrency:
jobs:
deploy:
name: Deploy book
if: github.ref == 'refs/heads/master'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 35859bb

Please sign in to comment.