Compare commits
3 Commits
2097b571f3
...
v1.15.0
| Author | SHA1 | Date | |
|---|---|---|---|
| 39f5bd3986 | |||
| 944d369d43 | |||
| 6aaf8ac44f |
@@ -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"
|
||||||
|
|||||||
@@ -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:
|
||||||
|
|||||||
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user