Skip to content

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

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

mrdavidgagnon merged 1 commit into
masterfrom
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/emerald/ci/<branch>/   (unchanged; delete this job when DoIT is retired)
  └─► preview  → https://builds.vaultlearninggames.org/fieldday/emerald/<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 emerald of studio fieldday. Nothing in the game changes.

Emerald specifics: the same branch is also proposed for production in a second PR (master and production hold identical files), so this one test build covers both.

What merging triggers: a push to master, 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/emerald/<branch>/.
Same change as wake (fielddaylab/wake#47).

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

This branch was successfully deployed

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