File tree 2 files changed +27
-0
lines changed
2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : deploy-vue-gh-pages
2
+ run-name : Deploy Vue to GitHub Pages
3
+ on :
4
+ push :
5
+ branches :
6
+ - master
7
+ jobs :
8
+ deploy :
9
+ runs-on : ubuntu-latest
10
+ steps :
11
+ - name : Checkout
12
+ uses : actions/checkout@v2
13
+ - name : Setup Node.js
14
+ uses : actions/setup-node@v1
15
+ with :
16
+ node-version : 17.x
17
+ - name : Install dependencies
18
+ run : npm ci
19
+ - name : Build
20
+ run : npm run build
21
+ - name : Deploy
22
+ uses : JamesIves/github-pages-deploy-action@releases/v3
23
+ with :
24
+ folder : dist
25
+ git-config-name : GitHub Actions Deploy
26
+ git-config-email : <>
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ const { defineConfig } = require('@vue/cli-service');
2
2
3
3
module . exports = defineConfig ( {
4
4
transpileDependencies : true ,
5
+ publicPath : process . env . NODE_ENV === 'production' ? '/bash-prompt-generator/' : '/' ,
5
6
} ) ;
You can’t perform that action at this time.
0 commit comments