File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8787 cabal test all
8888 --builddir=${{ env.cabal-build-dir }}
8989
90- - name : Documentation
91- if : |
92- matrix.os == 'ubuntu-latest'
93- && matrix.ghc == '9.4.4'
90+ - name : Documentation (Generation)
9491 run : >
9592 cabal haddock
9693 --builddir=${{ env.cabal-build-dir }}
@@ -99,11 +96,17 @@ jobs:
9996 --haddock-html-location
10097 'https://hackage.haskell.org/package/$pkg-$version/docs'
10198
99+ - name : Documentation (Staging)
100+ if : |
101+ github.ref == 'refs/heads/main'
102+ && matrix.os == 'ubuntu-latest'
103+ && matrix.ghc == '9.4.4'
104+ run : >
102105 mv ${{ env.cabal-build-dir }}/build/*/*/*/doc/html/* gh-pages
103106
104107 touch gh-pages/.nojekyll
105108
106- - name : Deploy
109+ - name : Documentation (Deployment)
107110 if : |
108111 github.ref == 'refs/heads/main'
109112 && matrix.os == 'ubuntu-latest'
You can’t perform that action at this time.
0 commit comments