Skip to content

Commit

Permalink
🐛 load only CLOUDFLARE envs from .env file
Browse files Browse the repository at this point in the history
  • Loading branch information
Marigold committed Oct 9, 2023
1 parent 55065cb commit f4c8a4a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ops/buildkite/deploy-content
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ deploy_to_cloudflare() {
# for branch-specific non-production deploys, use `--branch master`
cd dist
# trim \r, they remove previous logs in buildkite
env $(grep -v "^#" ../owid-grapher/.env | xargs -0) npx wrangler pages deploy . --project-name "$PROJECT_NAME" 2>&1 | tr -d '\r'
env $(grep "^CLOUDFLARE" ../owid-grapher/.env | xargs -0) npx wrangler pages deploy . --project-name "$PROJECT_NAME" 2>&1 | tr -d '\r'
)
}

Expand Down

0 comments on commit f4c8a4a

Please sign in to comment.