Skip to content

feat: 更新

feat: 更新 #42

Workflow file for this run

name: Build web
on:
push:
branches:
- master
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
persist-credentials: false
- name: Install
uses: sergioramos/yarn-actions/install@v6
with:
frozen-lockfile: true
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Build
run: |
npm run build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v4
with:
ACCESS_TOKEN: ${{ secrets.TOKEN }}
BRANCH: gh-pages
FOLDER: dist