File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -58,25 +58,25 @@ jobs:
5858 run : make test
5959
6060 - name : Generate Prelude HTML
61- if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.event_name != 'pull_request ') }}
61+ if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.ref == 'refs/heads/master ') }}
6262 run : make libHtml
6363
6464 - name : Deploy Prelude HTML
65- if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.event_name != 'pull_request ') }}
65+ if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.ref == 'refs/heads/master ') }}
6666 uses : peaceiris/actions-gh-pages@v3
6767 with :
6868 github_token : ${{ secrets.GITHUB_TOKEN }}
6969 publish_dir : html
7070 destination_dir : lib
7171
7272 - name : Generate test-suite HTML
73- if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.event_name != 'pull_request ') }}
73+ if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.ref == 'refs/heads/master ') }}
7474 run : |
7575 sudo apt-get install -y pandoc zsh
7676 make testHtml
7777
7878 - name : Deploy test-suite HTML
79- if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.event_name != 'pull_request ') }}
79+ if : ${{ (matrix.ghc == matrix.deploy-ghc) && (github.ref == 'refs/heads/master ') }}
8080 uses : peaceiris/actions-gh-pages@v3
8181 with :
8282 github_token : ${{ secrets.GITHUB_TOKEN }}
You can’t perform that action at this time.
0 commit comments