2 Commits

2 changed files with 10 additions and 1 deletions

View File

@@ -48,14 +48,23 @@ jobs:
- name: Determine Deployment Target
id: target
run: |
# J'utilise des quotes pour éviter les erreurs si la branche contient des espaces
if [ "${{ github.ref_name }}" = "main" ] || [ "${{ github.ref_name }}" = "master" ]; then
echo "Current branch is Production: ${{ github.ref_name }}"
echo "env_flag=" >> $GITHUB_OUTPUT
echo "env_name=Production" >> $GITHUB_OUTPUT
else
echo "Current branch is Preview: ${{ github.ref_name }}"
echo "env_flag=--env preview" >> $GITHUB_OUTPUT
echo "env_name=Preview" >> $GITHUB_OUTPUT
fi
- name: 🔍 Debug Info
run: |
echo "Branche détectée : ${{ github.ref_name }}"
echo "Flag Wrangler calculé : '${{ steps.target.outputs.env_flag }}'"
echo "Nom Environnement : ${{ steps.target.outputs.env_name }}"
- name: Publish to Cloudflare Workers
uses: cloudflare/wrangler-action@v3
with:

View File

@@ -10,7 +10,7 @@ useSeoMeta({
<main class="min-h-[60vh] flex flex-col items-center justify-center p-4">
<div class="max-w-2xl text-center space-y-8">
<h1 class="p-2 text-4xl md:text-6xl font-bold bg-linear-to-r from-inverted/40 to-inverted/75 to-70% bg-clip-text text-transparent duration-200 my-12 md:my-24">
Coming Soon...
Coming Soon... Very soon...
</h1>
<p class="text-lg md:text-xl text-neutral-600 dark:text-neutral-400 leading-relaxed">