Files
route-commerce/.gitea
tyler 1c133c5e06
Deploy to route.crispygoat.com / deploy (push) Failing after 3s
Build / build (push) Has been cancelled
fix(deploy): seed .env.example into APP_DIR if missing
The Start Docker stack step does `cd $APP_DIR && [ -f .env ] || cp .env.example .env`
but never ensured .env.example existed in APP_DIR. The rsync in the Deploy step
also doesn't copy it. The first deploy on a fresh host therefore failed with
'cp: cannot stat .env.example' before ever bringing up the stack.

Fix: copy .env.example from the workspace into APP_DIR if it isn't already
there, before the cd.
2026-06-05 23:17:10 +00:00
..