Skip to content

feat: AchivementStar.vue fix: clone #57

feat: AchivementStar.vue fix: clone

feat: AchivementStar.vue fix: clone #57

Workflow file for this run

name: Build and Upload to CDN
on:
push:
branches:
- master
jobs:
build-and-upload:
env:
CDN_URL: ${{ secrets.CDN_URL }}
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
with:
submodules: 'true'
- uses: actions/setup-node@v4
with:
node-version: 18
- run: npm ci
- run: npm run build
- name: Upload to COS
uses: zkqiang/[email protected]
with:
args: upload -r ./dist/ oj-annual-report-2024
secret_id: ${{ secrets.COS_SECRET_ID }}
secret_key: ${{ secrets.COS_SECRET_KEY }}
bucket: ${{ secrets.COS_BUCKET }}
region: ${{ secrets.COS_REGION }}