New answers tagged

1 vote
Accepted

sed mongodb connection string copying multiple times in env variable through github action

Escape a few characters, and your command will work as the following: sed -i 's#^DB_URI=.*$#DB_URI=mongodb+srv://xxxxxx:xxxxxxxx@db-mongodb-sfo3-api-discovery-f417ebf8.mongo.xxxxxxxxx.com/webapp_test?...
Daniel T's user avatar
  • 4,083

Top 50 recent answers are included