From 4f28dac69e2a7058303b3832b7d3c6346a32e578 Mon Sep 17 00:00:00 2001 From: Orestis Melkonian Date: Fri, 1 Mar 2024 17:18:18 +0000 Subject: [PATCH] CI: fix HTML deployment on master --- .github/workflows/ci.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index af4d5449..17f235ba 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -12,6 +12,7 @@ on: - 'agda2hs.cabal' - 'cabal.project' - 'Makefile' + - '.github/workflows/**.yml' branches: [master] jobs: @@ -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 }}