Skip to content

Commit

Permalink
Check build of page on PRs, too
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor committed Oct 28, 2024
1 parent d7edeaa commit 7810f89
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion .github/workflows/pages-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,12 @@ on:
push:
branches:
- main
- master
paths-ignore:
- .gitignore
- README.md
- LICENSE

pull_request:
paths-ignore:
- .gitignore
- README.md
Expand Down Expand Up @@ -62,6 +67,7 @@ jobs:
path: "_site${{ steps.pages.outputs.base_path }}"

deploy:
if: github.ref == 'refs/heads/main'
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
Expand Down

0 comments on commit 7810f89

Please sign in to comment.