You're on your way to the next level! Join the Kudos program to earn points and save your progress.
Level 1: Seed
25 / 150 points
1 badge earned
Challenges come and go, but your rewards stay with you. Do more to earn more!
What goes around comes around! Share the love by gifting kudos to your peers.
Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!
Join now to unlock these features and more
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.
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.
workspace name: foo
repository name (and slug): foo.bitbucket.io
How to access the site http://foo.bitbucket.io/