Note to self (and others) about GitHub Pages
August 17th, 2012 3:54 amGitHub 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
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.
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.
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?
The .unity3d file is 307KB. Isn’t it small ? It’s still wierd for me. I’m waiting fopr support reply. I’m going to post thier excuse.
And there was update, finaly -.-