feat: added cleanup script

This commit is contained in:
Haoyu Xu
2025-04-26 18:09:45 +08:00
parent b5c3361dd2
commit 1e7735203d
8 changed files with 39 additions and 10 deletions

View File

@@ -20,9 +20,9 @@ jobs:
with:
run_install: true
- name: Download Data
run: pnpm run download:data
- name: Build
run: pnpm run build
run: pnpm run download:data --cache=
- name: Build and Clean Up
run: pnpm run build:cleanup --cache=
- name: Publish to Cloudflare Pages
uses: cloudflare/pages-action@v1
with:
@@ -30,4 +30,4 @@ jobs:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
projectName: aklive2d
directory: dist
wranglerVersion: '3'
wranglerVersion: '3'