2
0
mirror of https://github.com/acepanel/panel.git synced 2026-02-04 17:17:13 +08:00

workflow: try fix copy

This commit is contained in:
耗子
2024-12-29 02:55:12 +08:00
parent 96cc85393a
commit 31d1df1371
3 changed files with 2 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ jobs:
cp .env.production .env
cp settings/proxy-config.example.ts settings/proxy-config.ts
pnpm build
pnpm run copy
- name: Upload frontend
uses: actions/upload-artifact@v4
with:

View File

@@ -36,7 +36,6 @@ jobs:
cp .env.production .env
cp settings/proxy-config.example.ts settings/proxy-config.ts
pnpm build
pnpm run copy
- name: Set environment variables
run: |
echo "GOVERSION=$(go version | cut -d' ' -f3)" >> $GITHUB_ENV

View File

@@ -12,11 +12,11 @@
},
"scripts": {
"dev": "vite",
"build": "run-p gen-auto-import type-check build-only",
"build": "run-s gen-auto-import type-check build-only copy",
"preview": "vite preview",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",
"lint": "run-p gen-auto-import lint-only",
"lint": "run-s gen-auto-import lint-only",
"lint-only": "eslint . --fix",
"format": "prettier --write src/",
"copy": "cpx \"dist/**/*\" \"../internal/embed/frontend\" -C",