Skip to content

chore:12月7日

chore:12月7日 #723

Workflow file for this run

name: build to my github
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [node16]
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- name: Install PNPM
run: npm i -g pnpm
- name: Install & Build
run: pnpm install --no-frozen-lockfile && pnpm run build
# - name: CreateTag
# run git tag -a
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/.vitepress/dist