Skip to content

Commit 562ce53

Browse files
authored
Merge pull request #400 from agda/orestis/fix-web-lib-test
[ fix #399 ] Docs: fix deploy from CI
2 parents 4a52e34 + b13fe8e commit 562ce53

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

.github/workflows/ci.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ jobs:
2323
matrix:
2424
os: [ubuntu-latest] # macOS-latest, windows-latest
2525
cabal: [3.10.3]
26+
deploy-ghc: [9.6.6]
2627
ghc: [9.4.8, 9.6.6, 9.8.2, 9.10.1]
2728
steps:
2829
- uses: actions/checkout@v3
@@ -57,29 +58,28 @@ jobs:
5758
run: make test
5859

5960
- 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') }}
6162
run: make libHtml
6263

6364
- 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') }}
6566
uses: peaceiris/actions-gh-pages@v3
6667
with:
6768
github_token: ${{ secrets.GITHUB_TOKEN }}
6869
publish_dir: html
6970
destination_dir: lib
7071

7172
- 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') }}
7374
run: |
7475
sudo apt-get install -y pandoc zsh
7576
make testHtml
7677
7778
- 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') }}
7980
uses: peaceiris/actions-gh-pages@v3
8081
with:
8182
github_token: ${{ secrets.GITHUB_TOKEN }}
8283
publish_dir: test/html
8384
destination_dir: test
8485

85-

0 commit comments

Comments
 (0)