Something went wrong. Try again.
Monorepo for Aesthetic.Computer aesthetic.computer
Something went wrong. Try again.
Shell
123456789101112131415161718192021222324252627#!/bin/bash# Add missing environment variables to Netlify production# NOTE: Actual secrets should be sourced from the vault, not hardcoded here.# Usage: Source your vault .env first, then run this script.
cd /workspaces/aesthetic-computer/system
# Add DigitalOcean Spaces credentials (from vault)npx netlify env:set ART_KEY "$ART_KEY" --context productionnpx netlify env:set ART_SECRET "$ART_SECRET" --context production
# Add bucket namesnpx netlify env:set ART_SPACE_NAME "art-aesthetic-computer" --context productionnpx netlify env:set USER_SPACE_NAME "user-aesthetic-computer" --context productionnpx netlify env:set WAND_SPACE_NAME "wand-aesthetic-computer" --context production
# Add endpointsnpx netlify env:set ART_ENDPOINT "sfo3.digitaloceanspaces.com" --context productionnpx netlify env:set USER_ENDPOINT "sfo3.digitaloceanspaces.com" --context productionnpx netlify env:set WAND_ENDPOINT "sfo3.digitaloceanspaces.com" --context production
# Add MongoDB credentials (from vault)npx netlify env:set MONGODB_CONNECTION_STRING "$MONGODB_CONNECTION_STRING" --context productionnpx netlify env:set MONGODB_NAME "$MONGODB_NAME" --context production
echo "Done! Environment variables added to Netlify production."