Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuration

Pages for Bitbucket has Global and Repository configuration levels.

Global configuration

Click the Administration icon ⚙️ > Pages configuration to open the Pages configuration page.

...

Select a repository, then click Repository settings > Web Pages to open the Repository settings page.

...

Security levels

Select one of the following web page content protection levels from the Allow insecure Javascript / HTML / CSS content field:

...

Enter the path used as root of web server in the Sub-folder to serve field. Using this option limits access to the repository through the web server. Only the contents of the specified folder are served as pages.

Enable branches

If the Automatically enable pages for new branches in this repository option is enabled, the web page link is enabled for all newly created branches. You can also manually enable or disable particular branches or tags.

Web Page navigation link

If a branch link is enabled, you can select it to be used with the Web Page button in the navigation bar:

...

Websites on Bitbucket Cloud

Pages for Bitbucket

Only publish one repository per user.

Publish as many repositories as you want.

Only publish a single branch of the repository.

Serve static web pages from any branch or tag.

The website is public on the internet. Anyone with the URL can access it.

Uses the permissions of the underlying repository, which allows you to control who can access the pages.

Only serve a website when the site's URL is <username>.bitbucket.org.

Use the custom domain you’ve configured through your Bitbucket DC. See /wiki/spaces/DEVM/pages/149786542 Using External Domain for Pages for more information.