Skip to content

doc: add zh introduction about HTNN. #241

doc: add zh introduction about HTNN.

doc: add zh introduction about HTNN. #241

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/bin
./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