Some checks failed
Build and publish / build (push) Failing after 19s
Source moved verbatim from mp/mail/ on 2026-04-29; mp was the first concrete adapter consuming the libreshop toolkit. Builds and publishes git.librete.ch/libreshop/mail on every main / v* push via the standard .gitea/workflows/build.yml shared across libreshop components.
8 lines
137 B
Bash
8 lines
137 B
Bash
#!/bin/sh
|
|
|
|
if [ "$ENVIRONMENT" = "production" ]; then
|
|
exec gunicorn -w 4 -b 0.0.0.0:2222 src.app:app
|
|
else
|
|
exec python3 src/app.py
|
|
fi
|