Compare commits

..

2 Commits

Author SHA1 Message Date
funman300 36cbf6df58 fix(ci): copy CHANGELOG.md into the wasm docker stage — deploys broken since v0.47.0
Build and Deploy / build-and-push (push) Successful in 9m33s
whats_new_plugin embeds the changelog at compile time
(include_str!("../../CHANGELOG.md"), shipped 2026-07-13), but the
Dockerfile's wasm-builder stage copies an explicit file list that
never included CHANGELOG.md — every docker-build since (10 runs,
v0.48.x and v0.49.0 content) failed in build_wasm.sh while web-e2e
(full checkout) stayed green, so the web has been serving the
July 14 image.

Also add CHANGELOG.md to the workflow's trigger paths so changelog
cuts redeploy the web and the What's-new card stays fresh.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 18:53:13 -07:00
funman300 4e18b18122 chore(ci): retrigger web deploy — run 579 failed post-#189, cause TBD (logs 404)
Build and Deploy / build-and-push (push) Failing after 7m20s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-16 18:41:27 -07:00
2 changed files with 8 additions and 1 deletions
+4 -1
View File
@@ -1,4 +1,4 @@
# Build and deploy the solitaire server Docker image. # Build and deploy the solitaire server Docker image. (retriggered 2026-07-16)
name: Build and Deploy name: Build and Deploy
on: on:
@@ -15,6 +15,9 @@ on:
- 'Cargo.toml' - 'Cargo.toml'
- 'Cargo.lock' - 'Cargo.lock'
- 'build_wasm.sh' - 'build_wasm.sh'
# The engine embeds CHANGELOG.md (What's-new card) — changelog cuts
# must redeploy the web so the card content stays fresh.
- 'CHANGELOG.md'
- 'solitaire_server/Dockerfile' - 'solitaire_server/Dockerfile'
- '.gitea/workflows/docker-build.yml' - '.gitea/workflows/docker-build.yml'
+4
View File
@@ -53,6 +53,10 @@ RUN cargo fetch --locked
# src/) because solitaire_engine embeds theme/audio/font assets at compile # src/) because solitaire_engine embeds theme/audio/font assets at compile
# time from its own assets/ and the workspace assets/. # time from its own assets/ and the workspace assets/.
COPY build_wasm.sh ./ COPY build_wasm.sh ./
# whats_new_plugin embeds the changelog at compile time
# (include_str!("../../CHANGELOG.md")) — omit it and the engine build
# fails inside this stage while full-checkout builds stay green.
COPY CHANGELOG.md ./
COPY solitaire_core ./solitaire_core COPY solitaire_core ./solitaire_core
COPY solitaire_sync ./solitaire_sync COPY solitaire_sync ./solitaire_sync
COPY solitaire_data ./solitaire_data COPY solitaire_data ./solitaire_data