Skip to content

Commit

Permalink
added new guide
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaykundu777 committed Jul 27, 2019
1 parent 53d32fd commit 25f1d5b
Show file tree
Hide file tree
Showing 10 changed files with 56 additions and 2 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url: "https://devlopr.netlify.com" # the base hostname & protocol for your site,
author_logo: profile.png
disqus_shortname: sujay-kundu #for comments using disqus
author: devlopr
author_bio: Hello, my name is John Doe.I am an award winning Full Stack Web Developer and UI/UX Javascript specialist
author_bio: devlopr-jekyll is a theme built for developers. Anyone can create a blog like this. Just follow the DOCS.
author_email: "[email protected]"
author_location: India
author_website_url: "https://johndoe.com"
Expand Down
2 changes: 1 addition & 1 deletion _posts/2016-05-20-build-a-blog-using-devlopr-jekyll.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ Now you can make your changes to your blog locally,

After you are happy with your blog. It's time to show it to the world. There are several ways which are possible for deploying the blog for free. Below is the list of build guides :

- [Deploy your blog using Github Pages, Travis CI and Forestry CMS (Coming Soon)](#)
- [Deploy your blog using Github Pages and Travis CI](#)

- [Deploy your blog using Netlify Hosting and Netlify CMS (Coming Soon)](#)

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
---
layout: post
title: Deploy devlopr jekyll Blog using Github Pages and Travis
author: Sujay Kundu
date: '2017-11-19 14:35:23 +0530'
category: guides
summary: Deployment Guide for devlopr-jekyll blog using Github Pages and Travis CI
thumbnail: posts/deploy-using-github-pages-and-travis.png
---

This guide assumes that you already have created your blog and tested locally. If not please follow this tutorial : [Create a Blog using devlopr jekyll](https://devlopr.netlify.com/guides/2017/11/19/build-a-blog-using-devlopr-jekyll). Then come back and proceed with the deployment process.

In this Guide, we are using Github Pages and Travis CI for deploying our blog. So let's get started:

##### Generate a New Github Personal Access Token

We need this token as a Environment Variable in Travis. For Travis can automatically login as you, and finish its job of building your site and pushing it to your repo's master branch.

Go to [Github Generate a New Token](https://github.com/settings/tokens) Page.

![deploy using travis](/assets/img/posts/d1.png){:class="img-fluid"}

Create a new Access Token

![deploy using travis](/assets/img/posts/d2.png){:class="img-fluid"}

##### Configure Travis

Go to [Travis](https://travis.org) and Toggle the repository access to use Travis

![deploy using travis](/assets/img/posts/d3.png){:class="img-fluid"}

Go to the repository settings page and Add Environment Variable 'GITHUB_TOKEN'
![deploy using travis](/assets/img/posts/d4.png){:class="img-fluid"}

##### Push your changes to Github

You can delete local build files (_site, .sass-cache) folders, as travis will generate this automatically on every push.

Commit your local changes in gh-pages branch

`git add .`
`git commit -m "added new post"`
`git push origin gh-pages`

After push, Travis will automatically run a build process and deploy your blog.

![deploy using travis](/assets/img/posts/d5.png){:class="img-fluid"}

You can visit your site at https://yourusername.github.io

![deploy using travis](/assets/img/posts/d6.png){:class="img-fluid"}

Done ! Enjoy your brand new devlopr-jekyll blog.
Binary file added assets/img/posts/d1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/posts/d2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/posts/d3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/posts/d4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/posts/d5.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/img/posts/d6.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 25f1d5b

Please sign in to comment.