"Publish Deploy" a "Branch Deploy" but with Production env values

So currently my flow is I develop a feature, merge it with Development, get my client to review, then if they happy, I merge to master and it triggers a Production build in Netlify.

Is there a way to Publish Deploy Development build that already happened but this time it should use the config values of the Production build. This will save me from merging to master branch. I guess I can do away with the master branch if this works.

Maybe my git flow is wrong. :man_shrugging:

I have a netlify toml file which looks like the following:

  command = "npm run build"

# Branch Deploy context: all deploys that are not from a pull/merge request or
# from the Production branch will inherit these settings.
  command = "NODE_ENV=development npm run build"
  NODE_ENV = "development"
  NODE_ENV = "development"
  GATSBY_SQ_API_URL = "zzzz"
  GATSBY_SQ_APP_ID = "sandbox-zzzz"

Hi, @hassgt. There is no way to re-publish an existing deploy with changes. To make changes to a deploy a new deploy is required.

All deploys at Netlify are immutable. There is no way to change an existing deploy. The only way to make site changes is to make a new deploy or to roll back to a previous (but otherwise unchanged) deploy.

Please let us know if there are other questions about this.