Skip to content

Commit

Permalink
Asjust env vars 5
Browse files Browse the repository at this point in the history
  • Loading branch information
Xavier Metichecchia authored and Xavier Metichecchia committed Nov 3, 2023
1 parent 8221b70 commit 0fb8cc3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ jobs:
- run:
name: Replace Data URL in manifest.yml file when deploying to develop
command: |
npm install envsub
sed -i 's@name: analytics-reporter@name: analytics-reporter-develop@g' manifest.yml
sed -i 's@- analytics-s3@- analytics-s3-dev@g' manifest.yml
sed -i 's@- analytics-reporter-database@- analytics-reporter-database-develop@g' manifest.yml
Expand All @@ -46,7 +47,7 @@ jobs:
sed -i 's@<POSTGRES_HOST>@$POSTGRES_HOST_DEV@g' manifest.yml
sed -i 's@<POSTGRES_USER>@$POSTGRES_USER_DEV@g' manifest.yml
mv manifest.yml manifest.yml.src
envsubst < manifest.yml.src > manifest.yml
envsub < manifest.yml.src > manifest.yml
- run:
name: Install CF CLI
Expand Down

0 comments on commit 0fb8cc3

Please sign in to comment.