Skip to content

[book] testing chapter (#205) #199

[book] testing chapter (#205)

[book] testing chapter (#205) #199

Workflow file for this run

name: Build Docusaurus Site and Deploy to GitHub Pages
on:
push:
branches: ["main"]
# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: "pages"
cancel-in-progress: false
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
cache: 'pnpm'
- name: Install dependencies
run: pnpm i
working-directory: ./site
- name: Build website
run: pnpm build
working-directory: ./site
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./site/build
cname: move-book.com