diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 659379e..233f669 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -89,6 +89,8 @@ jobs: IMAGE_CACHE_DIR=/data/image-cache PUBLIC_UMAMI_SCRIPT_URL=https://cloud.umami.is/script.js PUBLIC_UMAMI_WEBSITE_ID=${{ secrets.PUBLIC_UMAMI_WEBSITE_ID }} + PUBLIC_TURNSTILE_SITE_KEY=${{ secrets.PUBLIC_TURNSTILE_SITE_KEY }} + TURNSTILE_SECRET=${{ secrets.TURNSTILE_SECRET }} ENVEOF - name: Pull and restart container diff --git a/src/lib/components/internal/ContactFormComponent.svelte b/src/lib/components/internal/ContactFormComponent.svelte index 426cd58..d20d8d6 100644 --- a/src/lib/components/internal/ContactFormComponent.svelte +++ b/src/lib/components/internal/ContactFormComponent.svelte @@ -1,4 +1,6 @@ @@ -187,6 +276,10 @@

{t(T.contact_privacy_note)}

+ {#if TURNSTILE_ENABLED} +
+ {/if} + {#if serverError}