Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to Re-publish Web App without changing URL

We've published a Google Script as a Web App and thus the resulting URLfor that web app. Works great. Of course, after publishing, there were some changes made to the script. The question is, we're not sure how to "re-publish" (update, if you will) the web app WITHOUT changing its URL, which users now have and have probably bookmarked, etc. I'd hate to "Publish" or "re-publish" wrong and render the old URL as unavailable or dated (i.e. only reflecting the prior version of the script). We want the updated web app to result in an unchanged URL.

like image 504
Robert Alder Avatar asked Sep 18 '25 12:09

Robert Alder


1 Answers

Quick steps for googlers like me

  1. Save code edits.
  2. At the top, click Deploy > Manage deployments.
  3. Select the deployment and click Edit.
  4. Select new version of the code (that was the main trick).
  5. Click deploy. Changes now took effect for the same url.

Steps might be indeed unintuitive

like image 175
Hebe Avatar answered Sep 20 '25 04:09

Hebe