Skip to content

Commit

Permalink
CI: fix HTML deployment on master
Browse files Browse the repository at this point in the history
  • Loading branch information
omelkonian committed Mar 1, 2024
1 parent 803878b commit 4f28dac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ on:
- 'agda2hs.cabal'
- 'cabal.project'
- 'Makefile'
- '.github/workflows/**.yml'
branches: [master]

jobs:
Expand Down Expand Up @@ -56,11 +57,11 @@ jobs:
run: make test

- name: Generate Prelude HTML
if: ${{ matrix.ghc == '9.6.3' && github.event_name != 'pull_request' }}
if: ${{ matrix.ghc == '9.6.3' }} && github.event_name != 'pull_request'
run: make libHtml

- name: Deploy Prelude HTML
if: ${{ matrix.ghc == '9.6.3' && github.event_name != 'pull_request' }}
if: ${{ matrix.ghc == '9.6.3' }} && github.event_name != 'pull_request'
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
Expand Down

0 comments on commit 4f28dac

Please sign in to comment.