File tree 3 files changed +3
-3
lines changed
3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 28
28
run : npm install
29
29
30
30
- name : build
31
- run : echo "GITHUB_PAGES =1" > .env.local; npx vue-cli-service build
31
+ run : echo "VUE_APP_GITHUB_PAGES =1" > .env.local; npx vue-cli-service build
32
32
33
33
- name : move to docs
34
34
run : rm -rf docs && mv dist docs
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ const routes = [
55
55
] ;
56
56
57
57
const router = new VueRouter ( {
58
- mode : process . env . GITHUB_PAGES ? "hash" : "history" ,
58
+ mode : process . env . VUE_APP_GITHUB_PAGES ? "hash" : "history" ,
59
59
base : process . env . BASE_URL ,
60
60
routes
61
61
} ) ;
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
2
transpileDependencies : [ "vuetify" ] ,
3
3
publicPath :
4
- process . env . NODE_ENV === "production" && process . env . GITHUB_PAGES
4
+ process . env . NODE_ENV === "production" && process . env . VUE_APP_GITHUB_PAGES
5
5
? "/CorpusHarvesterWeb/"
6
6
: "/"
7
7
} ;
You can’t perform that action at this time.
0 commit comments