Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use relative path for zip release asset #2284

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/web-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ jobs:
run: npm run build:bundle
working-directory: ./web/explorer
- name: Zip release bundle
run: zip -r capa-explorer-web.zip capa-explorer-web
run: zip -r public/capa-explorer-web.zip capa-explorer-web
working-directory: ./web/explorer
- name: Build
run: npm run build
Expand Down
2 changes: 1 addition & 1 deletion web/explorer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"scripts": {
"dev": "vite",
"build": "vite build",
"build:bundle": "vite build --mode bundle --outDir=capa-exlorer-web",
"build:bundle": "vite build --mode bundle --outDir=capa-explorer-web",
"preview": "vite preview",
"test": "vitest",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs --fix --ignore-path .gitignore",
Expand Down
2 changes: 1 addition & 1 deletion web/explorer/src/components/NavBar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import Menubar from "primevue/menubar";
<a
v-ripple
v-tooltip.right="'Download capa Explorer Web for offline usage'"
href="/capa-explorer-web.zip"
href="./capa-explorer-web.zip"
download="capa-explorer-web.zip"
aria-label="Download capa Explorer Web release"
>
Expand Down
Loading