fix(deploy): Remove line numbers from env file generation
This commit is contained in:
parent
df208548f5
commit
fa9650d0b8
1 changed files with 8 additions and 8 deletions
16
deploy.sh
16
deploy.sh
|
|
@ -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}"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue