Skip to content

[frontend] fixed autodoc error #151

[frontend] fixed autodoc error

[frontend] fixed autodoc error #151

Workflow file for this run

name: Test build
on:
pull_request:
branches:
- "main"
jobs:
publish:
name: Build and deploy website
runs-on: ubuntu-latest
timeout-minutes: 20
if: github.base_ref == 'main' && github.event.pull_request.base.repo.full_name == 'hpcaitech/ColossalAI-Documentation'
steps:
# Checkout Project
- name: 📚 Checkout
uses: actions/checkout@v2
# Setup Node.js
- uses: actions/setup-node@v2
with:
node-version: "16"
cache: "yarn"
cache-dependency-path: docusaurus/package-lock.json
# Setup Python 3.8
- uses: actions/setup-python@v2
with:
python-version: "3.8.14"
# Build
- name: 🔨 Build
run: |
pip install -v ./doc-build
pip install -v ./doc-build/third_party/hf-doc-builder
bash ./scripts/build.sh
mv ./docusaurus/build ./