#!/usr/bin/env sh # 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: config' # if you are deploying to https://.github.io # git push -f https://github.com//.GitHub.io.git master # if you are deploying to https://.Github.io/ # git push -f https://github.com//.git master:gh-pages git push -f https://github.com/KarolChang/jm-expense-vue-ts.git master:gh-pages cd -