Versions Compared

Key

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

...

  • Simple web hosting  Host simple websites directly in Bitbucket Server

  • Commit and Publish  Just edit, push, and your changes are live

  • Version control just happens  Automatic version control by Git

  • Static web pages for every branch  Enable serving of static web pages per branch or tag

  • Access control just happens  Access control based on repository permissions

  • Relative links  Supports relative links and files stored in Git LFS

  • Configurable navigation button Select a branch you want to be accessible in left navigation bar

How it works

Repository administrators can enable serving of static web pages for any existing branch or tag in the repository settings screen. Once enabled, the base URL for pages in this branch or tag is being displayed next to the branch or tag name.

...

For users who want to still use the plugin and are worried about potentially malicious content in git repositories, we've added an option to disable JavaScript on rendered pages. You can disable JavaScript either on a global level or a repository level. Another way to host malicious safely is to configure an external domain.

Configuration

...

You can options in a separate configuration tab of Repository Settings page

Security level

You can select one of the following web page content protection levels:

  • Allow all insecure content: support both Javascript and CSS on the page, use only with private or fully trusted repositories!

  • Allow CSS only: support CSS styling of pages, but wipe out Javascript code from pages

  • Disable all insecure content: render text content only, wipe out CSS and Javascript code

Enable branches

Automatically enable pages for new branches in this repository: If this option is enabled, web page link will be enabled for all newly created branches.

...

Also, you can manually enable or disable particular branches or tags.

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

  • only one branch can be selected, tags not used

  • default branch is selected by default

  • if you you turn off branch link, Web Page button will be hidden

Pages for Bitbucket Server vs. websites on Bitbucket Cloud

...