From 6c8770cc5ae424ac359f4f4c888b8d8381e885a4 Mon Sep 17 00:00:00 2001 From: Reese Schultz Date: Wed, 26 Aug 2020 09:15:57 -0400 Subject: [PATCH] Update GitHub deploy script for reusability --- deploy.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/deploy.sh b/deploy.sh index 7463c726..79c2d7db 100755 --- a/deploy.sh +++ b/deploy.sh @@ -8,12 +8,14 @@ npm run build cd dist -echo "reeseschultz.github.io" > CNAME +# uncomment the below line and update it appropriately if using a custom domain +# echo "your site dot com" > CNAME git init git add -A git commit -m 'Deploy' +# update the below line with your repository and preferred branches git push -f git@github.com:reeseschultz/11r.git master:gh-pages cd -