Skip to content

doc: 调整CNAME文件位置 #3

doc: 调整CNAME文件位置

doc: 调整CNAME文件位置 #3

Workflow file for this run

name: docs
on:
push:
branches: [doc]
workflow_dispatch:
jobs:
docs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x]
steps:
- uses: actions/checkout@v3
with:
fetch-depth: 0
# 生成静态文件
- name: Build
run: cd docs && npm install && npm run docs:build
- name: Deploy
uses: crazy-max/ghaction-github-pages@v3
with:
target_branch: gh-pages
build_dir: docs/.vitepress/dist
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}