Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,463,057
Community Members
 
Community Events
176
Community Groups

Publishing a React Website on Bitbucket Cloud

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….

1 answer

0 votes
seanaty Atlassian Team Mar 31, 2022

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/

seanaty Atlassian Team Mar 31, 2022

@Kenneth Mulhern please accept this answer if it helps you :)

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events