Skip to content

Update package.json

Update package.json #4

name: Node.js CI
on:
push:
branches: [ main ]
paths-ignore:
- 'README.md'
permissions:
contents: write
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: 拉取代码
uses: actions/checkout@v3
- name: Install and Build
run: |
yarn install
yarn build:gh-page
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4.5.0
with:
branch: gh-pages
folder: dist