Skip to content

Version bumps

Version bumps #54

Workflow file for this run

---
name: Haddocks to Github Pages
on:
push:
branches:
- master
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/cache@v1
name: Cache ~/.cabal/store
with:
path: ~/.cabal/store
key: cabal-${{ runner.os }}-9.0-${{ hashFiles('cabal.project', 'rec-def.cabal') }}
- uses: haskell/actions/setup@v1
with:
ghc-version: 9.0
- name: Build
run: |
cabal update
cabal haddock --haddock-hyperlink-source --haddock-quickjump --haddock-html-location='https://hackage.haskell.org/package/$pkg-$version/docs'
mv dist-newstyle/build/*/*/*/doc/html/rec-def gh-page
touch gh-page/.nojekyll
echo haskell-rec-def.nomeata.de > gh-page/CNAME
- name: Deploy to Github Pages
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.GH_ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: gh-page
SINGLE_COMMIT: true