Skip to content

fix: 工作流图片压缩错误 (#102) #96

fix: 工作流图片压缩错误 (#102)

fix: 工作流图片压缩错误 (#102) #96

Workflow file for this run

name: Build Page
on:
push:
branches:
- main
jobs:
# 自动部署GitPage
gitpage:
runs-on: ubuntu-latest
steps:
# 拉取代码
- name: Checkout
uses: actions/checkout@master
with:
fetch-depth: 0
# 编译出静态页面
- name: Install and Build
run: npm install && npm run build
# 塞进gh-pages分支(即部署到GitPage)
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: build