diff --git a/ops/buildkite/build-code b/ops/buildkite/build-code index 4466d1f37c9..960d87a3780 100755 --- a/ops/buildkite/build-code +++ b/ops/buildkite/build-code @@ -48,6 +48,9 @@ update_env() { sed -i "s|^BAKED_SITE_DIR=.*$|BAKED_SITE_DIR=/home/owid/live-data/bakedSite|" owid-grapher/.env # NOTE: this should be identical once we merge to master sed -i "s|^BAKED_BASE_URL=.*$|BAKED_BASE_URL=$BAKED_BASE_URL|" owid-grapher/.env + # replace live-db.owid.io by owid-live-db + sed -i "s|^GRAPHER_DB_HOST=.*$|GRAPHER_DB_HOST=owid-live-db|" owid-grapher/.env + sed -i "s|^WORDPRESS_DB_HOST=.*$|WORDPRESS_DB_HOST=owid-live-db|" owid-grapher/.env }