diff --git a/.env.example b/.env.example index 00123222..517068c5 100644 --- a/.env.example +++ b/.env.example @@ -40,6 +40,7 @@ KEYCLOAK_CLIENT_ID="app" KEYCLOAK_CLIENT_SECRET="" KEYCLOAK_REALM_NAME="magic" +PRINTFUL_API_KEY="" PRINTFUL_WEBHOOK_SECRET="" MONERO_APPLICATION_RECIPIENT="" diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 627f4307..d2ab9d41 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -43,6 +43,8 @@ jobs: STRIPE_PRIVACY_GUIDES_WEBHOOK_SECRET=${{ secrets.STRIPE_PRIVACY_GUIDES_WEBHOOK_SECRET }} \ STRIPE_GENERAL_SECRET_KEY=${{ secrets.STRIPE_GENERAL_SECRET_KEY }} \ STRIPE_GENERAL_WEBHOOK_SECRET=${{ secrets.STRIPE_GENERAL_WEBHOOK_SECRET }} \ + PRINTFUL_API_KEY=${{ secrets.PRINTFUL_API_KEY }} \ + PRINTFUL_WEBHOOK_SECRET=${{ secrets.PRINTFUL_WEBHOOK_SECRET }} \ KEYCLOAK_URL=${{ secrets.KEYCLOAK_URL }} \ KEYCLOAK_CLIENT_SECRET=${{ secrets.KEYCLOAK_CLIENT_SECRET }} \ BTCPAY_URL=${{ secrets.BTCPAY_URL }} \ diff --git a/env.mjs b/env.mjs index 1c8e367f..b94c664a 100644 --- a/env.mjs +++ b/env.mjs @@ -46,13 +46,12 @@ export const env = createEnv({ BTCPAY_WEBHOOK_SECRET: z.string().min(1), PRINTFUL_WEBHOOK_SECRET: z.string().min(32), + PRINTFUL_API_KEY: z.string().min(1), MONERO_APPLICATION_RECIPIENT: z.string().email(), FIRO_APPLICATION_RECIPIENT: z.string().email(), PRIVACY_GUIDES_APPLICATION_RECIPIENT: z.string().email(), GENERAL_APPLICATION_RECIPIENT: z.string().email(), - - PRINTFUL_API_KEY: z.string().min(1), }, /* * Environment variables available on the client (and server).