Fix SMTP_URL and SMTP_FROM not passed to containers during deploy

The CD workflow exported SENTRY_RELEASE but not the SMTP env vars,
so docker-compose substituted them as empty strings and emails
silently failed.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Ullrich Schäfer 2026-03-26 18:24:17 +01:00
parent ef333a2105
commit 346d72a759
No known key found for this signature in database
GPG key ID: A32FF691A0F752D9

View file

@ -113,6 +113,8 @@ jobs:
# Pull latest images # Pull latest images
export SENTRY_RELEASE="${{ github.sha }}" export SENTRY_RELEASE="${{ github.sha }}"
export SMTP_URL="${{ secrets.SMTP_URL }}"
export SMTP_FROM="${{ secrets.SMTP_FROM }}"
docker compose pull docker compose pull
# Push database schema (starts postgres, waits for healthy) # Push database schema (starts postgres, waits for healthy)