Add .github\workflows\ghpages.yml
to your repo:
name: Deploy GhPages
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v3
with:
distribution: temurin
java-version: 11
- name: Build
run: sbt hepek
# or ./mill site.hepek
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: site/hepek_output