Skip to content

Merge pull request #21 from pmonks/dev #7

Merge pull request #21 from pmonks/dev

Merge pull request #21 from pmonks/dev #7

Workflow file for this run

name: docs
on:
push:
branches:
- main
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
with:
distribution: 'temurin'
java-version: 21
- uses: DeLaGuardo/setup-clojure@12.1
with:
cli: latest
- uses: actions/cache@v3
with:
path: |
~/.m2/repository
~/.gitlibs
~/.clojure
~/.cpcache
key: ${{ runner.os }}-${{ hashFiles('**/deps.edn') }}
- name: Generate docs
run: clojure -Srepro -J-Dclojure.main.report=stderr -T:build docs
- name: Deploy docs
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/doc