Fix: remove build: from compose.yml; clean up debug logs
All checks were successful
Deploy / deploy (push) Successful in 57s

podman-compose was rebuilding the image on every service restart using
the Containerfile, but without --build-arg WEBMENTION_TOKEN. This
silently discarded the token that the CI build had baked in.

Removing the build: block means restarts reuse the pre-built image
tagged by CI. Also removes all temporary debug console.log statements.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
Adrian Altner 2026-04-22 04:48:11 +02:00
parent a379e65c7a
commit 46701e959f
4 changed files with 1 additions and 13 deletions

View file

@ -10,7 +10,6 @@ import node from '@astrojs/node';
const envMode = process.env.NODE_ENV === 'production' ? 'production' : 'development';
const envVars = loadEnv(envMode, process.cwd(), '');
const WEBMENTION_TOKEN = envVars.WEBMENTION_TOKEN || process.env.WEBMENTION_TOKEN || '';
console.log(`[astro.config] token-len=${WEBMENTION_TOKEN.length} envVars-len=${(envVars.WEBMENTION_TOKEN||'').length} proc-len=${(process.env.WEBMENTION_TOKEN||'').length}`);
// https://astro.build/config
export default defineConfig({