Skip to content

fix dev site

fix dev site #69

Workflow file for this run

name: GitHub Pages
on:
push:
branches:
- main # Set a branch name to trigger deployment
jobs:
publish:
runs-on: ubuntu-20.04
steps:
- uses: actions/cache@v3
with:
path: |
.cpcache
.shadow-cljs
~/.m2
key: "1"
- name: Checkout
uses: actions/checkout@v3
- name: Install clojure tools
uses: DeLaGuardo/setup-clojure@master
with:
cli: latest
bb: latest
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Build static site
run: bb build-static
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: ${{ github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./public/build