Skip to content
This repository was archived by the owner on Jun 3, 2025. It is now read-only.

Update README.md (#185) #103

Update README.md (#185)

Update README.md (#185) #103

name: Build and Deploy Docusaurus to GitHub Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-22.04
permissions:
contents: write
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Setup Node
uses: actions/setup-node@v2
with:
node-version: '20.11.0'
- name: Install Dependencies
run: npm install
- name: Build Docusaurus Site
run: npm run build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build
publish_branch: gh-pages
cname: docs.neuralmagic.com