Skip to content

Commit

Permalink
build page on pull requests, too
Browse files Browse the repository at this point in the history
  • Loading branch information
mhils committed Aug 2, 2023
1 parent 96209ad commit dfeeb21
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ on:
push:
branches:
- main
- v2
pull_request:
schedule:
- cron: '27 3,9,15,21 * * *'

jobs:
deploy:
uses: mhils/workflows/.github/workflows/gh-pages-hugo.yml@v2
uses: mhils/workflows/.github/workflows/gh-pages-hugo.yml@v3
with:
deploy: ${{ github.ref == 'refs/heads/main' }}
permissions:
contents: read
id-token: write
Expand Down

0 comments on commit dfeeb21

Please sign in to comment.