[+] Deploy script

This commit is contained in:
Hykilpikonna
2021-12-11 12:19:30 -05:00
parent fe950c6db5
commit c9c2edca04
2 changed files with 33 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env sh
# Abort on errors
set -e
# Build
yarn run build
# Navigate into the build output directory
cd dist
# Deploying to a custom domain
echo 'profile.hydev.org' > CNAME
git init
git add -A
git commit -m 'deploy'
git push -f git@github.com:hykilpikonna/home-page.git master:gh-pages
cd -