How to Re-publish Web App without changing URL

Viewed 315

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.

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.

There're docs but it takes effort to read and do not exactly answer the question

Related