Hi guys,
Im trying to Publish/Host a ReactJS project on Bitbucket. The project was bootstrapped using create react app therefore the index.html file is within a public folder I.e. root/public/index.html.
I followed the instruction on https://support.atlassian.com/bitbucket-cloud/docs/publishing-a-website-on-bitbucket-cloud/ but I can’t seem to get the site to show.
The url that Ive tried is [workspaceID]/ui-library.bitbucket.io and [workspaceID]/ui-library.bitbucket.io/public (ui-library being the repo name). Both of these just return ‘repo not found’ or google search results.
Am I doing something wrong here? I’m new to Bitbucket, I previously use GitHub and GitHub Pages for things like this.
Thanks….
It's a bit confusing... to host a public site the workspace name essentially needs to be a part of the repository name :)
If my workspace slug (what you see in the URL) is "foo" then I need to create a repository with the exact name "foo.bitbucket.io". It looks like a URL and it is a URL but the same string of text is also the name of the repository.
In summary:
workspace name: foo
repository name (and slug): foo.bitbucket.io
How to access the site http://foo.bitbucket.io/
@Kenneth Mulhern please accept this answer if it helps you :)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.