diff --git a/deploy.ps1 b/deploy.ps1 new file mode 100644 index 0000000..7625696 --- /dev/null +++ b/deploy.ps1 @@ -0,0 +1,14 @@ +# 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 https://github.com/hykilpikonna/home-page.git master:gh-pages +cd .. diff --git a/deploy.sh b/deploy.sh new file mode 100644 index 0000000..ba83678 --- /dev/null +++ b/deploy.sh @@ -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 -