Skip to content

feat: 增加数据条目 #24

feat: 增加数据条目

feat: 增加数据条目 #24

Workflow file for this run

name: CI
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout main
uses: actions/checkout@v4
with:
ref: main
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "16"
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
version: 8
- name: Build project
run: pnpm i && pnpm run build
- name: Upload COS
uses: zkqiang/tencent-cos-action@v0.1.0
with:
args: delete -r -f / && upload -r ./dist/ /
secret_id: ${{ secrets.TENCENT_CLOUD_SECRET_ID }}
secret_key: ${{ secrets.TENCENT_CLOUD_SECRET_KEY }}
bucket: ${{ secrets.COS_BUCKET }}
region: ${{ secrets.COS_REGION }}