File tree 1 file changed +5
-5
lines changed
1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 23
23
matrix :
24
24
os : [ubuntu-latest] # macOS-latest, windows-latest
25
25
cabal : [3.10.3]
26
+ deploy-ghc : [9.6.6]
26
27
ghc : [9.4.8, 9.6.6, 9.8.2, 9.10.1]
27
28
steps :
28
29
- uses : actions/checkout@v3
@@ -57,29 +58,28 @@ jobs:
57
58
run : make test
58
59
59
60
- name : Generate Prelude HTML
60
- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
61
+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
61
62
run : make libHtml
62
63
63
64
- name : Deploy Prelude HTML
64
- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
65
+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
65
66
uses : peaceiris/actions-gh-pages@v3
66
67
with :
67
68
github_token : ${{ secrets.GITHUB_TOKEN }}
68
69
publish_dir : html
69
70
destination_dir : lib
70
71
71
72
- name : Generate test-suite HTML
72
- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
73
+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
73
74
run : |
74
75
sudo apt-get install -y pandoc zsh
75
76
make testHtml
76
77
77
78
- name : Deploy test-suite HTML
78
- if : ${{ (matrix.ghc == '9.6.3' ) && (github.event_name != 'pull_request') }}
79
+ if : ${{ (matrix.ghc == martix.deploy-ghc ) && (github.event_name != 'pull_request') }}
79
80
uses : peaceiris/actions-gh-pages@v3
80
81
with :
81
82
github_token : ${{ secrets.GITHUB_TOKEN }}
82
83
publish_dir : test/html
83
84
destination_dir : test
84
85
85
-
You can’t perform that action at this time.
0 commit comments