Skip to content

Pin tinysearch build #61

Pin tinysearch build

Pin tinysearch build #61

Workflow file for this run

on: push
name: Publish
jobs:
build:
name: Do it!
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- name: zola build
uses: docker://ghcr.io/getzola/zola:v0.18.0
with:
entrypoint: zola
args: build
- name: Build tinysearch
uses: docker://tinysearch/cli:0.8
with:
entrypoint: tinysearch
args: --optimize --path public/search public/search/index.html
- name: fix search
run: |
mv public/search public/search_old
mkdir public/search
mv public/search_old/* public/search
rm -rf public/search_old
sudo chown runner:docker public/search/*
- name: Publish
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./public
cname: www.krwenholz.com