Skip to content

Commit

Permalink
Sanity build on PR
Browse files Browse the repository at this point in the history
Signed-off-by: Bradley Reynolds <[email protected]>
  • Loading branch information
shenanigansd authored Aug 2, 2023
1 parent 4683b66 commit c49850c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/site-deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: "Deploy to GitHub Pages"
on:
push:
branches: [ main ]
pull_request:

permissions:
contents: read
Expand All @@ -20,6 +21,7 @@ jobs:
uses: withastro/action@dc081df9eacdb11181ea51e5d05853faa5aee891 # v0.2.0

deploy:
if: ${{ github.ref == 'refs/heads/main' }}
needs: build
runs-on: ubuntu-latest
environment:
Expand Down

0 comments on commit c49850c

Please sign in to comment.