File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 31
31
- uses : actions/checkout@v2
32
32
with :
33
33
fetch-depth : 0
34
- ref : hakyll
35
34
36
35
- uses : haskell/actions/setup@v1
37
36
name : Setup Haskell Stack
56
55
run : stack exec --system-ghc site rebuild
57
56
58
57
- name : Deploy
59
- # No deploy from pull requests
60
- if : ${{ github.event_name != 'pull_request' }}
58
+ # Deploy only from non- pull-request changes to hakyll branch
59
+ if : ${{ github.event_name != 'pull_request' && github.ref == 'refs/heads/hakyll' }}
61
60
run : |
62
61
git config user.name github-actions
63
62
git config user.email [email protected]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cabal-version: 2.0
6
6
executable site
7
7
main-is : site.hs
8
8
build-depends : base == 4. *
9
- , hakyll ^>= 4.15
9
+ , hakyll ^>= 4.14
10
10
, monadlist
11
11
, pandoc >= 2.11 && < 2.20
12
12
, text
Original file line number Diff line number Diff line change 15
15
# resolver:
16
16
# name: custom-snapshot
17
17
# location: "./custom-snapshot.yaml"
18
- resolver : lts-18.10
18
+ resolver : lts-18.28
19
19
20
20
# User packages to be built.
21
21
# Various formats can be used as shown in the example below.
You can’t perform that action at this time.
0 commit comments