Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,16 +43,18 @@ jobs:
name: Cache ~/.stack
with:
path: ~/.stack
key: ${{ runner.os }}-${{ matrix.ghc }}-stack
key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-

- name: Build dependencies
run: stack build --system-ghc --only-dependencies

- name: Build site executable
run: stack build --system-ghc

# Runs a set of commands using the runners shell
- name: Deploy
# No deploy from pull requests
if: ${{ github.event_name != 'pull_request' }}
run: |
git config user.name github-actions
git config user.email github-actions@github.com
Expand Down