I have a line like this:
sed -i 's/"host: TND_HOST"/"host: process.env.TND_HOST"/g' services/management/tnd.js
and the option above causes linting error:
This GitLab CI configuration is invalid: (<unknown>): mapping values are not allowed in this context at line [...]
Other options that do not work are:
sed -i 's/host: TND_HOST/host: process.env.TND_HOST/g' services/management/tnd.js
sed -i "s/host: TND_HOST/host: process.env.TND_HOST/g" services/management/tnd.js
Any way to overcome the issue and keep it as a one-liner?