Skip to content

Update 2023-10-26-培训.md #664

Update 2023-10-26-培训.md

Update 2023-10-26-培训.md #664

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