fix(deploy): Remove line numbers from env file generation

This commit is contained in:
fullsizemalt 2026-01-08 01:26:11 -08:00
parent df208548f5
commit fa9650d0b8

View file

@ -118,14 +118,14 @@ if [ "$HAS_ENV" = "no" ]; then
ssh "$USER@$HOST" "cat > $ENV_FILE << EOF ssh "$USER@$HOST" "cat > $ENV_FILE << EOF
# Database # Database
109: DB_PASSWORD=${DB_PASSWORD} DB_PASSWORD=${DB_PASSWORD}
110:
111: # JWT # JWT
112: JWT_SECRET=${JWT_SECRET} JWT_SECRET=${JWT_SECRET}
113:
114: # Environment # Environment
115: NODE_ENV=production NODE_ENV=production
116: PORT=${PORT} PORT=${PORT}
EOF" EOF"
echo -e "${GREEN}✓ Environment file created${NC}" echo -e "${GREEN}✓ Environment file created${NC}"
echo -e "${YELLOW}IMPORTANT: New secrets generated on $HOST.${NC}" echo -e "${YELLOW}IMPORTANT: New secrets generated on $HOST.${NC}"