Skip to content

Commit

Permalink
Merge pull request #2284 from s-ff/move-release-to-public
Browse files Browse the repository at this point in the history
use relative path for zip release asset
  • Loading branch information
mr-tz committed Aug 12, 2024
2 parents 1c9a86c + 216bfb9 commit 71ae51e
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
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

0 comments on commit 71ae51e

Please sign in to comment.