Frage

I use Google App in my company, and I often have a prob when I update my script.

When I Update my script , my Webpage on Google sites is not updated , and for long time. I must create a new script when I update my script.

Can I resolve this problem ?

regards

War es hilfreich?

Lösung

There are two ways to publish your code:

A) Either by deploying a new version, which is done as follows:

  1. File -> Manage Versions
  2. Add a new version -> Close dialog
  3. Publish -> Deploy as web app
  4. Select the version added -> Update

B) Or by always using your latest code

  1. Publish -> Deploy as web app
  2. Under the web app URL, click on the latest code button.
  3. This way, any change done and saved will automatically be updated upon a refresh

Andere Tipps

Follow the instructions in the documentation. You need to first save a new version in the versions dialog. Then you need to re-publish it using the new version number.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top