Skip to content

feat: 增加发布导出useStore的脚本 (#22) #19

feat: 增加发布导出useStore的脚本 (#22)

feat: 增加发布导出useStore的脚本 (#22) #19

Workflow file for this run

name: Deploy Pages
on:
push:
branches:
- main
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install pnpm
uses: pnpm/[email protected]
with:
version: 8.6.5
- name: Set node version to 16
uses: actions/setup-node@v2
with:
node-version: 16
cache: "pnpm"
- run: pnpm install
- name: Build
run: pnpm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.DEPLOY }}
BRANCH: gh-pages
FOLDER: dist