DEV Community

Tadea Simunovic
Tadea Simunovic

Posted on

Deploy with GitHub Pages

GitHub is a great tool to deploy your projects. Using GitHub Pages you can easily share your projects on the World Wide Web.

GitHub Pages are very easy to set up and it's live updating with your GitHub flow.

To start I will assume you have your project set up with GitHub repo. If you don't here is GitHub documentation to follow.

In GitHub navigate to your repository and in the right corner, you will click on the Settings.

Alt Text

Within Settings, navigate to the Source section within the Github Pages section. From the dropdown menu, select master branch and then click Save.

Alt Text

You will get a notification that your site is ready to be published. When you first navigate to your newly deployed site it is possible that you will receive a 404 error. Sometimes it takes a few minutes to be deployed if you still having an issue try to follow steps again to make sure everything is set up correctly.

Now, all of your repositories can be found at http://<username>.github.io/<repository-name>

Alt Text

Top comments (0)