Why gcloud preview app deploy don't update my app?

1.2k views Asked by At

I can deploy a new app with 'gcloud preview app deploy' but if I change some code and deploy again I can't see the changes on my .appspot.com

'git push origin master' don't work too

I'm using nodejs and google cloud shell inside browser.

1

There are 1 answers

0
Justin Beckwith On

Until recently, every time you ran gcloud preview app deploy we would create a new version of your app, but NOT direct traffic to it from yourapp.appspot.com. Instead, it would site behind a version number like newversion123.yourapp.appspot.com.

Try updating to the latest version of the Google Cloud SDK by running:

gcloud components update

Then try deploying again. If that doesn't work, try running deploy with --promote:

gcloud preview app deploy --promote

If all that fails - please give us the full output of the deploy command :)

Hope this helps!