Skip to content

Commit

Permalink
workflow: try fix copy
Browse files Browse the repository at this point in the history
  • Loading branch information
devhaozi committed Dec 28, 2024
1 parent 96cc853 commit 31d1df1
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
1 change: 0 additions & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
1 change: 0 additions & 1 deletion .github/workflows/goreleaser.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit 31d1df1

Please sign in to comment.