Note to self (and others) about GitHub Pages

GitHub and GitHub Pages are good for hosting web-based games. But they are at least one downside. After commiting an update of site they are refreshing so god damn slow rate (at least mine ;/, about more that 10h, i haven’t mesured it).

But. If you build game with .html file template (like Unity for example) you can commit such bundles on separate branch. Additionaly you can post Atom feed of selected branch on sidebar (update rate is ASAP, it’s rss :) ), and even link to tarball/zip of last commit.

To get Atom widget check this site, and how to embedd on site you can see in my repo, in branch gh-pages.

Cheers :)

Comments

17. Aug 2012 · 10:16 UTC
I use GitHub Pages for my web apps for exactly the reasons you mention (automatically publishes your commits, is free, and is generally awesome), but the turn around for updates is more like 10 minutes at worst rather than 10 hours.
17. Aug 2012 · 11:47 UTC
Yea, they are great for such stuff, i like it but the update time. You can check by commits, last one was like 3 hours ago, and page isn’t updated … i don’t know the reason, maby because of Unity? Dunno, any ideas ? Or maby only i see not updated version … hmm… Anyhow i’ll mail support for that.
18. Aug 2012 · 02:33 UTC
Could be something to do with the file size. I use it from HTML apps, which are pretty small. Perhaps because the Unity binaries are larger it takes longer to publish them?