Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Continuous Deployment from gh building successfully but not appearing on live site

I've been trying to set up continuous deployment on my Cloud Run service

I've set up the trigger properly and it builds & deploys when I commit to my repo, but when I actually go to the URL that it's meant to be building, my changes do not appear.

I'm just doing very minor changes, like changing the text in the h1 tag.

As you can see, what is deployed on the site (here) is different from the source code (here) (see the specific change here).

I am not a good programmer. It took me a good couple of hours to figure out how to set up this trigger. But the trigger in Cloud Build appears to work perfectly (screenshot), it deploys successfully on Cloud Run (screenshot), but when I check on the site, nothing has changed. I am at a loss!

0 3 162
3 REPLIES 3

Hi @leosn ,

I'm not sure what's really the issue here. Based on this commit, the text "Hello, world, this is a test!" should appear. Checking your deployed site and the source code that you mentioned; its applied properly on my end (see screenshot below). 

marcanthonyb_0-1680564329091.png

Let me know if there's still an issue with the deployment.

Regards,
Marc

 

Hi @marcanthonyb  - thanks for response!

I actually moved things around and forgot to edit this post. Easter.leonasskau.com is now deployed from source code, so I just deployed the most recent version. It seems like that is a viable solution mid-term.

But continuous deployment is set up on https://easter-rnnetwi4pa-ue.a.run.app/ (screenshot of my cloud run page here).

You're correct to note that "Hello, world, this is a test!" should appear (and the chatbot section should work if you test it) based on the source code. It does work on easter.leonasskau.com, which I deployed from source code. But that is now running on a separate service. I still have the issue with continuous deployment. You'll see on https://easter-rnnetwi4pa-ue.a.run.app/ the 'Hello world is different' and the chatbot is unfinished.

Sorry for the confusion

Hi @leosn ,

Thanks for clarifying things out. I would suggest contacting Google Cloud Support to further check the configurations made into your project.

Regards,
Marc

Top Solution Authors