[+] Deploy script

This commit is contained in:
Hykilpikonna
2021-11-28 17:49:40 -05:00
parent ac36f9c969
commit ab8a685c8c
2 changed files with 37 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env sh
# abort on errors
set -e
# navigate into the build output directory
cd dist
# if you are deploying to a custom domain
echo 'csc110.hydev.org' > CNAME
git init
git add -A
git commit -m 'deploy'
# if you are deploying to https://<USERNAME>.github.io/<REPO>
git push -f git@github.com:Hykilpikonna/CSC110-Project.git master:gh-pages
cd -