matchbox icon indicating copy to clipboard operation
matchbox copied to clipboard

Build and publish example projects in CI

Open johanhelsing opened this issue 1 year ago • 5 comments

It would be nice if we built and published the bevy_ggrs example when merging to main and/or tagging.

Could perhaps use github pages for hosting.

To actually build and bundle the app we could use something like an xtask approach, at least that's what I've done on my other private projects, and I'm fairly happy with it: https://github.com/matklad/cargo-xtask

johanhelsing avatar Apr 10 '23 10:04 johanhelsing

How would we host the signalling server?

garryod avatar Apr 16 '23 22:04 garryod

For a couple of other projects, I use a setup that watches a docker register and redeploys a compose stack on new images. Setting it up for matchbox server as well should be quite easy.

johanhelsing avatar Apr 17 '23 03:04 johanhelsing

Ah, should've been more specific with this one, do we have hardware available to deploy the server on?

garryod avatar Apr 17 '23 07:04 garryod

Ah, should've been more specific with this one, do we have hardware available to deploy the server on?

yeah, I have a vps that always pulls and runs the latest image for each tag. So if we can just package and publish the html, we're there.

johanhelsing avatar May 25 '23 07:05 johanhelsing

Sweet, can throw that together over the weekend

garryod avatar May 25 '23 07:05 garryod