Created
March 24, 2016 17:47
-
-
Save niqdev/eda76f85fcddf908e963 to your computer and use it in GitHub Desktop.
setup github.io
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
git clone https://github.com/openwebnet/openwebnet-site.git | |
cd openwebnet-site/ | |
mkdir dist | |
cd dist | |
echo "Hello World" > index.html | |
echo "openwebnet.xyz" > CNAME | |
cat index.html | |
cat CNAME | |
cd .. | |
git add . | |
git commit -m "initial dist subtree commit" | |
git st | |
git push -u origin master | |
git subtree push --prefix dist origin gh-pages | |
# config namecheap | |
https://www.namecheap.com/support/knowledgebase/article.aspx/9645/2208/how-do-i-link-my-domain-to-github-pages |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment