We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents b4ff12b + 4cedd91 commit fa1e9f1Copy full SHA for fa1e9f1
.github/workflows/main.yml
@@ -43,16 +43,18 @@ jobs:
43
name: Cache ~/.stack
44
with:
45
path: ~/.stack
46
- key: ${{ runner.os }}-${{ matrix.ghc }}-stack
+ key: ${{ runner.os }}-${{ matrix.ghc }}-${{ github.sha }}
47
+ restore-keys: ${{ runner.os }}-${{ matrix.ghc }}-
48
49
- name: Build dependencies
50
run: stack build --system-ghc --only-dependencies
51
52
- name: Build site executable
53
run: stack build --system-ghc
54
- # Runs a set of commands using the runners shell
55
- name: Deploy
56
+ # No deploy from pull requests
57
+ if: ${{ github.event_name != 'pull_request' }}
58
run: |
59
git config user.name github-actions
60
git config user.email [email protected]
0 commit comments