Hacker News new | ask | show | jobs
by kelukelugames 3940 days ago
How did you get it to show up at the URL: http://pakastin.github.io/deck-of-cards/?

I thought we needed to make a separate repository for github pages first. My other repo doesn't show at all.

2 comments

You just need a gh-pages branch on the repo. The separate repo is only for the "root folder" of that subdomain (i.e. the content of the master branch of the repo pakastin/pakastin.github.io shows up at pakastin.github.io/ and the content of the gh-pages branch of the repo pakastin/xyz shows up at pakastin.github.io/xyz).
Thanks. I've been manually copying the directories into my gh-pages repo. lol.
Put some HTML code on the gh-pages branch :)

https://github.com/pakastin/deck-of-cards/tree/gh-pages