Skip to content

feat: 优化新版Demo #13

feat: 优化新版Demo

feat: 优化新版Demo #13

Workflow file for this run

name: Deploy Documentation
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: 'npm'
- name: Install dependencies
run: npm ci
- name: Build docs
run: npm run docs:build
- name: Deploy to vue-danmaku-docs
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: docs/.vitepress/dist
repository-name: hellodigua/vue-danmaku-docs
branch: main
token: ${{ secrets.DOCS_DEPLOY_TOKEN }}
clean: true