Skip to content

Commit

Permalink
set base path
Browse files Browse the repository at this point in the history
  • Loading branch information
patricebender committed Apr 26, 2024
1 parent 7dd2bb0 commit a25812d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,9 @@ jobs:
uses: actions/upload-pages-artifact@v3
with:
path: dist
- name: List output files
run: ls -l dist


# Deploy to GitHub Pages
- name: Deploy GitHub Pages site
Expand Down
3 changes: 2 additions & 1 deletion vue.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
transpileDependencies: true
transpileDependencies: true,
publicPath: process.env.NODE_ENV === 'production' ? '/patrice-codes/' : '/'
})

0 comments on commit a25812d

Please sign in to comment.