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
Next: Root
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
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.