Skip to content

chore: 调整github ci触发分支 #1

chore: 调整github ci触发分支

chore: 调整github ci触发分支 #1

Workflow file for this run

name: Deploy
on:
push:
branches:
- master
jobs:
main:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
with:
persist-credentials: false
- name: Install and Build
run: |
npm install pnpm@7.24.0 -g
pnpm install
pnpm build
- name: Deploy
uses: JamesIves/github-pages-deploy-action@releases/v3
with:
ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BRANCH: gh-pages
FOLDER: dist