Deploy only custom code into Production

Hi,

I am already having a website designed and developed in webflow let’s say https://www.example.com which was deployed into production. Now my client asked me to change the website with new designs. So I am designing new website which was in the staging right now and i.e., https://staging.example.com. None of the changes are deployed to production https://www.example.com, in production old website is running.

My client gave me new analytics script and asked me to integrate in the current production website i.e., https://www.example.com. But I am afraid if I update this script in Custom Code(header part of the website) and publish that to production will the changes(new designs) done in https://staging.example.com will be moved to https://www.example.com.

Please help me.

Thanks in advance

Hey @KrishnaKanth , short answer, yes it would. Whatever changes you have in the designer will be pushed to the domain when you publish.

1 Like

Thanks for your quick reply @imtiazraqib

So, you say all the changes done in designing part and also in custom code part both will be published

1 Like

Yes, that would be correct.

Hey @KrishnaKanth , as @imtiazraqib stated, everything will be pushed. There could be a workaway around this though. If you had a backup of the website before you started working on the staged features, you can duplicate the current website, so the copy will act as the staged version, and then restore to the production version of the website. After that, you can just add the script to the original copy (The production website now) and republish it.
In case you haven’t made such a back-up, Webflow automatically backs up your website regularly. If you can estimate the day you started working on the staged features, a case of trial and error can help.

1 Like

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.