Skip to content

Commit e6a5a70

Browse files
committed
Trim redundant templates copy from release workflow
Templates and frontend assets are embedded in the binary via embed.FS (Phase 5), so the release archive only needs the binary and config.toml.
1 parent ec046e5 commit e6a5a70

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,9 @@ jobs:
2929
# Create lilmail directory for each platform
3030
mkdir -p builds/lilmail
3131
32-
# Copy config and templates to the common lilmail directory
32+
# Copy config to the bundle (templates and frontend assets are embedded
33+
# in the binary via embed.FS, so they don't need to ship alongside it)
3334
cp config.toml builds/lilmail/
34-
cp -r templates builds/lilmail/
3535
3636
# Linux build
3737
GOOS=linux GOARCH=amd64 go build -o builds/lilmail/lilmail

0 commit comments

Comments
 (0)