Skip to content

chore(github-helper): release v1.0.0 #22

chore(github-helper): release v1.0.0

chore(github-helper): release v1.0.0 #22

Workflow file for this run

name: GitHub Actions Deploy
on:
push:
branches:
- master
# 只在下列文件变更时触发
paths:
- 'packages/**/CHANGELOG.md'
# 设置权限
permissions: write-all
jobs:
bot:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 8
- name: Set node version to 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Run Script
run: pnpm install && pnpm build
- name: Copy files
run: cp README.md ./dist/
- name: Deploy
uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: dist