From df85e1084fe5f9eee20b048679a78d12a4641e29 Mon Sep 17 00:00:00 2001 From: Hykilpikonna Date: Mon, 23 Sep 2019 19:58:02 -0400 Subject: [PATCH] [+] Create deploy script https://cli.vuejs.org/guide/deployment.html#github-pages --- run/deploy.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 run/deploy.sh diff --git a/run/deploy.sh b/run/deploy.sh new file mode 100644 index 0000000..f03b4b5 --- /dev/null +++ b/run/deploy.sh @@ -0,0 +1,22 @@ +#!/usr/bin/env bash + +# abort on errors +set -e + +# build +npm run build + +# navigate into the build output directory +cd dist + +# if you are deploying to a custom domain +# echo 'www.example.com' > CNAME + +git init +git add -A +git commit -m 'deploy' + +# if you are deploying to https://.github.io/ +git push -f git@github.com:HyDevelop/VeracrossAnalyzer.Client.git master:gh-pages + +cd -