Ask coding questions

← Back to all posts
Delay Deployment of live changes?
stefanbfritz (1)

I've deployed a website and bought a domain to go with it (which is not a common thing for me, so I'm pumped).

I want to keep tinkering and making updates to it, but I want to be able to tinker safely without breaking the live site.

Is there a way to delay the changes I make from being deployed to the live site?


Kai_Justice (278)

I usually just fork the public site, make changes to the fork then copy and paste the changes onto the public site. There's probably an easier way to do this with git but this seems to be the most straight forward.

stefanbfritz (1)

And, if anyone has any advice about using environment variables for my API key, I'd love some help. I'm not seeing an environment icon in the sidebar.