Skip to content

build: release v1.2.1 #43

build: release v1.2.1

build: release v1.2.1 #43

Workflow file for this run

# ci.yml
name: Vangle
on:
push:
branches:
- main
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️ # 将代码拉取到虚拟机
uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16'
cache: 'npm'
- name: Install and Build 🔧 # 安装依赖、打包,如果提前已打包好无需这一步
run: |
npm install
npm run build:docs
- name: Deploy 🚀 # 部署
uses: JamesIves/[email protected]
with:
branch: gh-pages # 部署后提交到那个分支
folder: docs/dist # 这里填打包好的目录名称