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:
1
.github/workflows/build.yml
vendored
1
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
1
.github/workflows/goreleaser.yml
vendored
1
.github/workflows/goreleaser.yml
vendored
@@ -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
|
||||
|
||||
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user