Skip to content

feat: add tick demo #26

feat: add tick demo

feat: add tick demo #26

Workflow file for this run

name: MP_PREVIEW
on:
pull_request:
types: [opened, synchronize, reopened]
push:
branches: [develop]
concurrency:
group: mp-preview-${{ github.event.pull_request.number || github.sha }}
cancel-in-progress: true
jobs:
preview:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
ref: ${{ github.event.pull_request.head.sha || github.sha }}
- name: 小程序预览/上传
uses: novlan1/tencent-cos-and-cdn-action/mp-preview@master
with:
mini_app_id: ${{ secrets.TDESIGN_UNI_APP_ID }}
mini_app_private_key: ${{ secrets.TDESIGN_UNI_MINI_KEY }}
allowed_users: '{"novlan1":21,"anlyyao":22}'
# node_version: '16'
# install_command: 'npm install'
# build_command: 'npm run build:mp-weixin'
cos_secret_id: ${{ secrets.TENCENT_COS_SECRET_ID }}
cos_secret_key: ${{ secrets.TENCENT_COS_SECRET_KEY }}
cos_bucket: mike-1255355338
cos_region: ap-guangzhou
cos_remote_path: tdesign-uniapp-starter-vue2-cli/wx-mp-preview-qrcode.png
cdn_prefix: 'https://cdn.uwayfly.com/'
description_prefix: 'starter-vue2-cli'