Remember that you can add a netlify.toml
file in your repository to customize the headers on a per-branch basis:
# Staging context: all deploys from the staging# branch will inherit these environment variables:[context.staging.environment]SHOW_DRAFT_CONTENT = "true"
With CircleCI, you can now add custom environment variables to use to be available during the build:
And if you're using our custom webhook deployment method, you are now free to specify the exact headers and JSON payload to be sent: