feat: Automate Directus CMS bootstrapping in the dev script and update gitignore rules.
Some checks failed
Build & Deploy KLZ Cables / 🔍 Prepare Environment (push) Successful in 20s
Build & Deploy KLZ Cables / 🧪 Quality Assurance (push) Successful in 1m15s
Build & Deploy KLZ Cables / 🏗️ Build & Push (push) Successful in 3m32s
Build & Deploy KLZ Cables / 🚀 Deploy (push) Failing after 1m0s
Build & Deploy KLZ Cables / 🔔 Notifications (push) Successful in 2s

This commit is contained in:
2026-02-01 12:47:46 +01:00
parent d526bfe56f
commit cf7af73b72
3 changed files with 20 additions and 2 deletions

View File

@@ -247,6 +247,18 @@ jobs:
EOF
rm -f /tmp/klz-cables.env
- name: 🎨 Branding Setup
if: success()
env:
DIRECTUS_URL: ${{ env.DIRECTUS_URL }}
run: |
echo "🎨 Applying KLZ Branding to $TARGET..."
# Load the locally generated env but use the server URL
NEXT_PUBLIC_BASE_URL="${{ env.NEXT_PUBLIC_BASE_URL }}" \
DIRECTUS_ADMIN_EMAIL="${{ secrets.DIRECTUS_ADMIN_EMAIL }}" \
DIRECTUS_ADMIN_PASSWORD="${{ secrets.DIRECTUS_ADMIN_PASSWORD }}" \
npx tsx scripts/setup-directus-branding.ts
# ──────────────────────────────────────────────────────────────────────────────
# JOB 5: Notifications
# ──────────────────────────────────────────────────────────────────────────────