Thank you for the reference. I have resolved all the credentials and the config issues.
Now this is what I get when I try to deploy to my GCP bucket. I don’t think those instructions in the documentation are thorough and clear on how the deployment should be done.
Deploying to target "test" (gs://ims-site-test-depoloyment)
Identified 0 file(s) to upload, totaling 0 B, and 1 file(s) to delete.
Success!
Success!
So nothing is getting deployed with this command: hugo deploy --target test
any thoughts/direction on that?
Thank you,
Also this is my site structure, I don’t see anything standing out as an issue here as I am able to run it locally fine with hugo server command:
Are you trying to deploy your site, or the test site that you created?
Both. getting the same output.
If I have time later today I will try this from a Windows machine to make sure we’re testing the same things.
Okay, thank you.
I am suspecting something to do with the Config that needs to be added to see the whole website files… just thinking out load here. will keep digging. or GCP is expecting more from Hugo’s deployment…
With this site config:
baseURL = 'https://example.org/'
languageCode = 'en-us'
title = 'My New Hugo Site'
theme = 'mytheme'
[[deployment.targets]]
name = "production"
URL = "gs://hugo-forum-topic-48908"
And this command:
PS C:\temp\mysite> hugo deploy --target production
I get this:
Deploying to target "production" (gs://hugo-forum-topic-48908)
Identified 23 file(s) to upload, totaling 66 kB, and 0 file(s) to delete.
No problems. Windows 11, Hugo v0.124.0.
Thank you for verifying the issue was here:
name = “production”
I had test instead . let me keep going with the deployment.
how would you test the website once deployed in GCP bucket?
Read the GCP docs. That’s not a Hugo problem.