In case this approach might be useful to someone else.
I am about to collaborate with someone on a Rez game and we’re going to use a Github repo to work together. I figured I would see if I get auto-build & deploy working. Here is a Github CI workflow for that
deploy.yml (1.9 KB)
Whenever there is a push to the branch main a workflow is triggered that:
- downloads the latest binary version of Rez for Linux
- compiles the game sources
- copies the contents of the game
distfolder (including assets) to Github pages
The result is the game page here (which is a “new project” page and not necessarily very interesting but it confirms that an actual HTML/JS project gets deployed successfully).
I think this approach would probably work for other systems.