fix(ci): repair Forgejo workflows after the axum rewrite #28
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/forgejo-workflows"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Both Forgejo workflows kept references to paths and tooling that no longer existed after the rewrite from Dioxus to Axum + Askama, so they either never triggered or would have failed if they had.
build-oci-image.yml now watches the rewritten paths under server/ (server/src, server/migrations, server/templates, server/assets, server/package.json, server/bun.lock, server/tailwind.config.js) instead of the obsolete top-level src/, migrations/, assets/, and .cargo/. Cargo.toml/Cargo.lock and the Dockerfile/get-tags.nu are still watched. The Dockerfile itself was already up to date and is unchanged.
build-desktop-linux.yml referenced ci-build/Dockerfile.desktop-linux and a Dioxus output path (target/dx/lets-chat/release/linux/app/lets-chat) that were both removed when the rewrite landed, so the desktop CI build had no chance of succeeding. This commit:
Locally verified that ci-build/Dockerfile.desktop-linux builds and that docker cp pulls a valid x86-64 ELF binary from /build/target/release/lets-chat-desktop.
Co-Authored-By: Claude Opus 4.7 (1M context) noreply@anthropic.com