Skip to content

Commit 7eb91a8

Browse files
committed
Actually build site on PR sites as well
1 parent 87e9968 commit 7eb91a8

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/main.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,15 @@ jobs:
5252
- name: Build site executable
5353
run: stack build --system-ghc
5454

55+
- name: Build site
56+
run: stack exec --system-ghc site rebuild
57+
5558
- name: Deploy
5659
# No deploy from pull requests
5760
if: ${{ github.event_name != 'pull_request' }}
5861
run: |
5962
git config user.name github-actions
6063
git config user.email [email protected]
61-
stack exec --system-ghc site rebuild
6264
git checkout main
6365
git pull --rebase
6466
# Overwrite existing files with new files

0 commit comments

Comments
 (0)