Skip to content

Build once, deploy to DoIT and Vault R2 test builds - #27

Merged
mrdavidgagnon merged 1 commit into
developfrom
vault-r2-publish
Oct 2, 2026
Merged

mrdavidgagnon merged 1 commit into
developfrom
vault-r2-publish

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: DEPLOY_DIR stays a repository variable (vars.DEPLOY_DIR), as in the old workflow. production gets its own PR with the same change, because develop is 60 commits ahead of it.

What merging triggers: a push to develop, 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 c7c780b into develop Oct 2, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
vault-staging — bef27366 Deployed Oct 2, 2026 by mrdavidgagnon via preview / publish #745
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