Skip to content

Assemble Web Release #180

Assemble Web Release

Assemble Web Release #180

# 工作流名称
name: Assemble Web Release
# 触发工作流程的事件
on:
push:
tags: [ v*, h* ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: pnpm/action-setup@v2
with:
version: 8
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
- run: pnpm install
- name: Build Taro Playground Web
run: pnpm build:h5
- name: Deploy github pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist