Skip to content

Commit

Permalink
fix: github pages relative paths
Browse files Browse the repository at this point in the history
  • Loading branch information
gmallios committed Aug 28, 2024
1 parent 6646a7d commit 690ad59
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
14 changes: 6 additions & 8 deletions .github/workflows/pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,19 @@ on:
push:
branches: [ 'master' ]

permissions:
contents: read
pages: write
id-token: write


concurrency:
group: 'pages'
cancel-in-progress: true

jobs:
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
permissions:
contents: read
pages: write
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3
Expand Down Expand Up @@ -59,7 +57,7 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: './manager-ui/dist'

- name: ⏫ Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
3 changes: 2 additions & 1 deletion manager-ui/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,6 @@ export default defineConfig({
minify: !process.env.TAURI_DEBUG ? 'esbuild' : false,
// produce sourcemaps for debug builds
sourcemap: !!process.env.TAURI_DEBUG
}
},
base: './'
});

0 comments on commit 690ad59

Please sign in to comment.