From 0db2c838ddec26b3396118421ddba65a1a9396d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=99=A8=E8=BE=89?= Date: Tue, 23 Jul 2019 14:27:49 +0800 Subject: [PATCH 1/3] deploy --- src/deploy.sh | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 src/deploy.sh diff --git a/src/deploy.sh b/src/deploy.sh new file mode 100644 index 0000000..6df7d47 --- /dev/null +++ b/src/deploy.sh @@ -0,0 +1,20 @@ +# deploy.sh +# 错误时停止 +set -e + +# 打包 +npm run build + +# 进入目标文件夹 +cd dist + +# 提交到本地仓库 + +git init +git add -A +git commit -m 'deploy' + +# 提交到 https://github.com/gcddblue/vue-admin-webapp.git 项目的 gh-pages 分支 +git push -f git@github.com:gcddblue/vue-admin-webapp.git master:gh-pages + +cd - \ No newline at end of file From 2db14b935204c0a543b46864dd06a0cddf2388e6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=AB=98=E6=99=A8=E8=BE=89?= Date: Tue, 23 Jul 2019 14:33:31 +0800 Subject: [PATCH 2/3] add .sh --- src/deploy.sh => deploy.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/deploy.sh => deploy.sh (100%) diff --git a/src/deploy.sh b/deploy.sh similarity index 100% rename from src/deploy.sh rename to deploy.sh From 1b3200cb86786db13450f680d419dad0b6952f28 Mon Sep 17 00:00:00 2001 From: gch <1024484268@qq.com> Date: Sun, 11 Aug 2019 23:03:04 +0800 Subject: [PATCH 3/3] =?UTF-8?q?.sh=20=E6=9D=83=E9=99=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- deploy.sh | 0 1 file changed, 0 insertions(+), 0 deletions(-) mode change 100644 => 100755 deploy.sh diff --git a/deploy.sh b/deploy.sh old mode 100644 new mode 100755