Skip to content

should update the example to use the released version #276

should update the example to use the released version

should update the example to use the released version #276

Workflow file for this run

name: website
on:
push:
branches: [ "main" ]
paths:
- "site/**"
pull_request:
branches: [ "main" ]
paths:
- "site/**"
concurrency:
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.run_number || github.ref }}
cancel-in-progress: true
jobs:
check:
timeout-minutes: 10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: cache
uses: actions/cache@v4
with:
# ./tmp is cached for htmltest
path: |
./site/tmp
key: ${{ runner.os }}-${{ hashFiles('./Makefile') }}
- name: lint cjk
run: |
if ! make lint-cjk; then
echo "Please run 'make fix-cjk', edit the detected files and commit changes."
exit 1
fi
- name: build
working-directory: ./site
run: |
set -euo pipefail
make build
make publish
- name: lint
run: |
make lint-website