forked from reeseschultz/11r
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update GitHub deploy script for reusability
- Loading branch information
Reese Schultz
committed
Aug 26, 2020
1 parent
125ceae
commit 6c8770c
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 [email protected]:reeseschultz/11r.git master:gh-pages | ||
|
||
cd - |