Skip to content

2023.1.9

2023.1.9 #442

Workflow file for this run

name: Deploy Docs
on:
push:
branches:
- master
jobs:
docs-build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: pnpm
- name: Build docs
run: pnpm docs:build
- name: Add .nojekyll
run: echo > docs/.vuepress/dist/.nojekyll
- name: Deploy to GitHub Pages
uses: crazy-max/ghaction-github-pages@v2
with:
build_dir: docs/.vuepress/dist
target_branch: gh-pages
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}