Bitbucket Pages

An introduction

The slightly undocumented Bitbucket Pages feature allows for you to host simple HTML web pages from one of your Bitbucket repositories. Update your web page by simple pushing changes to the repository.

Creating your web page

Let’s say your username is johngoode What you need to do is to create a new repository, called johngoode.bitbucket.org.

$ echo "Hello, World!" > index.html
$ hg commit -m "Push'n' ma' page"
$ hg push

As soon as you’ve pushed a document to your johngoode.bitbucket.org repository, it will show up at http://johngoode.bitbucket.org/.

That is…

  1. Create a repository called yourusername.bitbucket.org
  2. Push pages to your repository