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 3131 - uses : actions/checkout@v2
3232 with :
3333 fetch-depth : 0
34- ref : hakyll
3534
3635 - uses : haskell/actions/setup@v1
3736 name : Setup Haskell Stack
5655 run : stack exec --system-ghc site rebuild
5756
5857 - 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' }}
6160 run : |
6261 git config user.name github-actions
6362 git config user.email [email protected]
Original file line number Diff line number Diff line change @@ -6,7 +6,7 @@ cabal-version: 2.0
66executable site
77 main-is : site.hs
88 build-depends : base == 4. *
9- , hakyll ^>= 4.15
9+ , hakyll ^>= 4.14
1010 , monadlist
1111 , pandoc >= 2.11 && < 2.20
1212 , text
Original file line number Diff line number Diff line change 1515# resolver:
1616# name: custom-snapshot
1717# location: "./custom-snapshot.yaml"
18- resolver : lts-18.10
18+ resolver : lts-18.28
1919
2020# User packages to be built.
2121# Various formats can be used as shown in the example below.
You can’t perform that action at this time.
0 commit comments