My pipeline succeeds but I when I go to my website url, ir only shows a message saying "repository not available"
not sure what the issue is here but shown below is my .yml file for the pipeline. fyi: running locally with Hugo does produce a website correctly, the issue is when hosting through bitbucket
here is my .yml file for reference:
Hi @hdave1 and welcome to the community.
If you want to host a static website on Bitbucket Cloud, the name of the repository with the website must be the same as the workspace id of the workspace that owns the repo. Please have a look at the following documentation:
In your yml file you reference himanshu106/himanshudave.bitbucket.io
If the workspace id is himanshu106, then the repo name needs to be himanshu106.bitbucket.io instead of himanshudave.bitbucket.io
You can always change the workspace-id and in turn the repo name, if the workspace id you want to use is available.
The repository also needs to have a file called index.html in the root directory, in lowercase letters. I'm not sure if your repo already has that, if not, you will need to add it.
If you have any questions, please feel free to let me know.
Just a heads up, I removed the email and username from your post to comply with our privacy policy.
Kind regards,
Theodora
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.