We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 41c4d50 commit ef99ad3Copy full SHA for ef99ad3
deploy.sh
@@ -0,0 +1,18 @@
1
+#!/usr/bin/env sh
2
+
3
+# abort on errors
4
+set -e
5
6
+# build
7
+npm run build
8
9
+# navigate into the build output directory
10
+cd dist
11
12
+git init
13
+git add -A
14
+git commit -m 'deploy'
15
16
+git push -f git@github.com:thealoneprogrammer/vue-sticky.git master:gh-pages
17
18
+cd -
vue.config.js
@@ -0,0 +1,5 @@
+module.exports = {
+ publicPath: process.env.NODE_ENV === 'production'
+ ? '/vue-sticky/'
+ : '/'
+ }
0 commit comments