Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.



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




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: