Skip to content

[production] Build once, deploy to DoIT and Vault R2 test builds - #28

Merged
mrdavidgagnon merged 1 commit into
productionfrom
vault-r2-publish-production
Oct 3, 2026
Merged

mrdavidgagnon merged 1 commit into
productionfrom
vault-r2-publish-production

Conversation

@mrdavidgagnon

Copy link
Copy Markdown
Member

Moves this repo's CI to the pattern already running on Aqualab (fielddaylab/wake#47, fielddaylab/wake#48): one Unity build, deployed independently to DoIT (as today) and to Vault's R2 test-build storage.

build   (VaultLearningGames/vault-publisher unity-build.yml@v1)
  ├─► doit     VPN + rsync → https://fielddaylab.wisc.edu/play/bloom/ci/<branch>/   (unchanged; delete this job when DoIT is retired)
  └─► preview  → https://builds.vaultlearninggames.org/fieldday/bloom/<branch>/
remove-preview (on branch delete)

What changes: only the workflow file. The build itself moves to the shared reusable workflow (same game-ci builder, Unity version read from ProjectSettings/ProjectVersion.txt); the DoIT upload becomes its own job using the same secrets and folder as before; a new job publishes the same build to the Vault CDN as game bloom of studio fieldday. Nothing in the game changes.

Bloom specifics: this is the production half of #27 (same workflow file, applied to production because develop is 60 commits ahead of it). DEPLOY_DIR stays a repository variable (vars.DEPLOY_DIR), as in the old workflow. Merging rebuilds and redeploys the live game on DoIT (same code, new build). The test branch name does not start with production, so its test build uses the development configuration; the build on production itself uses the PRODUCTION configuration, as it does today.

What merging triggers: a push to production, so one Unity build (uses a Unity seat; the first build on a branch has no Library cache, so it is slower than usual), then

From then on every branch push does both, and deleting a branch removes its Vault build.

How to verify:

Merge with a merge commit or squash, one repo at a time (Unity seats). The first run creates a vault-staging deployment environment in this repo, which is where the published URL shows up.

🤖 Generated with Claude Code

Use the shared Unity build (VaultLearningGames/vault-publisher unity-build.yml@v1),
then deploy independently to DoIT (unchanged) and to
https://builds.vaultlearninggames.org/fieldday/bloom/<branch>/.
Same change as wake (fielddaylab/wake#47).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@mrdavidgagnon
mrdavidgagnon merged commit f920776 into production Oct 3, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
vault-staging — 5142abaa Deployed Oct 2, 2026 by mrdavidgagnon via preview / publish #746
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant