Init Vue-CLI project files
This commit is contained in:
parent
c8e6e8700d
commit
491c9aa5c5
8 changed files with 11630 additions and 0 deletions
25
deploy.sh
Normal file
25
deploy.sh
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
#!/bin/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 'oliver.akins.me' > CNAME
|
||||
|
||||
git init
|
||||
git add -A
|
||||
git commit -m 'deploy'
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io
|
||||
# git push -f git@github.com:<USERNAME>/<USERNAME>.github.io.git master
|
||||
|
||||
# if you are deploying to https://<USERNAME>.github.io/<REPO>
|
||||
git push -f git@github.com:Oliver-Akins/top-lists.git master:gh-pages
|
||||
|
||||
cd -
|
||||
Loading…
Add table
Add a link
Reference in a new issue