Compare commits

...

3 Commits

Author SHA1 Message Date
39f5bd3986 fix(blog): force dynamic rendering to avoid empty build-time cache
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 10s
Build & Deploy / 🏗️ Build (push) Successful in 13m5s
Build & Deploy / 🚀 Deploy (push) Successful in 18s
Build & Deploy / 🧪 QA (push) Successful in 1m8s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m8s
Build & Deploy / 🔔 Notify (push) Successful in 1s
2026-04-09 21:37:35 +02:00
944d369d43 ci: automate S3 cache purge during deployment
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 8s
Build & Deploy / 🏗️ Build (push) Successful in 10m13s
Build & Deploy / 🚀 Deploy (push) Successful in 18s
Build & Deploy / 🧪 QA (push) Successful in 1m9s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 2m59s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-09 18:18:34 +02:00
6aaf8ac44f fix(types): manually align Inquiry type for contact form fields
All checks were successful
Build & Deploy / 🔍 Prepare (push) Successful in 9s
Build & Deploy / 🏗️ Build (push) Successful in 17m53s
Build & Deploy / 🚀 Deploy (push) Successful in 15s
Build & Deploy / 🧪 QA (push) Successful in 1m9s
Build & Deploy / 🧪 Post-Deploy Verification (push) Successful in 3m8s
Build & Deploy / 🔔 Notify (push) Successful in 2s
2026-04-09 12:34:56 +02:00
3 changed files with 31 additions and 0 deletions

View File

@@ -532,6 +532,29 @@ jobs:
docker compose -p '${{ needs.prepare.outputs.project_name }}' --env-file $ENV_FILE up -d --remove-orphans docker compose -p '${{ needs.prepare.outputs.project_name }}' --env-file $ENV_FILE up -d --remove-orphans
" "
- name: 🧹 Purge S3 Cache
shell: bash
run: |
echo "Installing rclone..."
curl -s -O https://downloads.rclone.org/rclone-current-linux-amd64.deb
sudo dpkg -i rclone-current-linux-amd64.deb > /dev/null 2>&1
echo "Configuring rclone..."
cat > rclone.conf <<EOF
[mintel-s3]
type = s3
provider = Other
access_key_id = ${{ secrets.S3_ACCESS_KEY || vars.S3_ACCESS_KEY }}
secret_access_key = ${{ secrets.S3_SECRET_KEY || vars.S3_SECRET_KEY }}
endpoint = ${{ secrets.S3_ENDPOINT || vars.S3_ENDPOINT || 'https://fsn1.your-objectstorage.com' }}
region = ${{ secrets.S3_REGION || vars.S3_REGION || 'fsn1' }}
EOF
echo "Purging S3 cache for ${{ env.S3_PREFIX }} ..."
rclone --config rclone.conf delete mintel-s3:${{ env.S3_BUCKET }}/${{ env.S3_PREFIX }}/cache/ --include "*" || true
rm rclone.conf rclone-current-linux-amd64.deb
- name: 🧹 Post-Deploy Cleanup (Runner) - name: 🧹 Post-Deploy Cleanup (Runner)
if: always() if: always()
run: docker builder prune -f --filter "until=1h" run: docker builder prune -f --filter "until=1h"

View File

@@ -2,6 +2,8 @@ import { getAllPosts } from "@/src/lib/posts";
import { BlogClient } from "@/src/components/blog/BlogClient"; import { BlogClient } from "@/src/components/blog/BlogClient";
import type { Metadata } from "next"; import type { Metadata } from "next";
export const dynamic = "force-dynamic";
export const metadata: Metadata = { export const metadata: Metadata = {
title: "Blog | Mintel.me", title: "Blog | Mintel.me",
description: description:

View File

@@ -287,6 +287,9 @@ export interface Inquiry {
email: string; email: string;
companyName?: string | null; companyName?: string | null;
projectType?: string | null; projectType?: string | null;
phone?: string | null;
role?: string | null;
deadline?: string | null;
message?: string | null; message?: string | null;
isFreeText?: boolean | null; isFreeText?: boolean | null;
/** /**
@@ -808,7 +811,10 @@ export interface InquiriesSelect<T extends boolean = true> {
name?: T; name?: T;
email?: T; email?: T;
companyName?: T; companyName?: T;
phone?: T;
role?: T;
projectType?: T; projectType?: T;
deadline?: T;
message?: T; message?: T;
isFreeText?: T; isFreeText?: T;
config?: T; config?: T;