Table of Contents | ||||
---|---|---|---|---|
|
Excerpt |
---|
Host HTML pages right on your server instance – supports Javascript, and serves unique pages on a repository basis.The Pages plugin provides a simple way to publish web pages in Bitbucket Server. It allows repository administrators to enable serving of static web pages for any existing branch or tag. Once enabled, users will be able to view HTML files of this branch or tag directly in Bitbucket. |
...
It's also possible to link to other HTML files or resources like CSS, JavaScript, or images by using relative links. Feature Highlights
|
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.
...
The main difference between Pages for Bitbucket Server and the websites feature of Bitbucket Cloud is that we support websites on a repository level, not just on the account level. This brings the following advantages:
Websites on Bitbucket Cloud | Pages for Bitbucket Server |
---|---|
On Bitbucket Cloud you can only publish one repository per user. | With the Pages add-on you can publish as many repositories as you want. |
On Bitbucket Cloud you can only publish a single branch of the repository. | With the Pages add-on you can serve static web pages from any branch or tag you like. |
On Bitbucket Cloud the website is public on the internet. Anyone with the URL can access it. | The Pages add-on uses the permissions of the underlying repository, which allows you to control specifically who can access the pages and who not. |
Bitbucket Cloud can only serve a website when the site's URL is <username>.bitbucket.org. | The Pages add-on allows you to use your own custom domain. |