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
|
||||
# Database
|
||||
109: DB_PASSWORD=${DB_PASSWORD}
|
||||
110:
|
||||
111: # JWT
|
||||
112: JWT_SECRET=${JWT_SECRET}
|
||||
113:
|
||||
114: # Environment
|
||||
115: NODE_ENV=production
|
||||
116: PORT=${PORT}
|
||||
DB_PASSWORD=${DB_PASSWORD}
|
||||
|
||||
# JWT
|
||||
JWT_SECRET=${JWT_SECRET}
|
||||
|
||||
# Environment
|
||||
NODE_ENV=production
|
||||
PORT=${PORT}
|
||||
EOF"
|
||||
echo -e "${GREEN}✓ Environment file created${NC}"
|
||||
echo -e "${YELLOW}IMPORTANT: New secrets generated on $HOST.${NC}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue