diff --git a/_config.yml b/_config.yml index 63ba24eb8..11912928d 100644 --- a/_config.yml +++ b/_config.yml @@ -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: "john@devlopr.com" author_location: India author_website_url: "https://johndoe.com" diff --git a/_posts/2016-05-20-build-a-blog-using-devlopr-jekyll.md b/_posts/2016-05-20-build-a-blog-using-devlopr-jekyll.md index 9b1018c9b..6457063bd 100644 --- a/_posts/2016-05-20-build-a-blog-using-devlopr-jekyll.md +++ b/_posts/2016-05-20-build-a-blog-using-devlopr-jekyll.md @@ -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)](#) diff --git a/_posts/2016-05-21-deploy-blog-using-devlopr-jekyll-and-github-pages.md b/_posts/2016-05-21-deploy-blog-using-devlopr-jekyll-and-github-pages.md new file mode 100644 index 000000000..9bc56b281 --- /dev/null +++ b/_posts/2016-05-21-deploy-blog-using-devlopr-jekyll-and-github-pages.md @@ -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. \ No newline at end of file diff --git a/assets/img/posts/d1.png b/assets/img/posts/d1.png new file mode 100644 index 000000000..73e8d42fe Binary files /dev/null and b/assets/img/posts/d1.png differ diff --git a/assets/img/posts/d2.png b/assets/img/posts/d2.png new file mode 100644 index 000000000..249dc9c41 Binary files /dev/null and b/assets/img/posts/d2.png differ diff --git a/assets/img/posts/d3.png b/assets/img/posts/d3.png new file mode 100644 index 000000000..4ad271576 Binary files /dev/null and b/assets/img/posts/d3.png differ diff --git a/assets/img/posts/d4.png b/assets/img/posts/d4.png new file mode 100644 index 000000000..ce96ef199 Binary files /dev/null and b/assets/img/posts/d4.png differ diff --git a/assets/img/posts/d5.png b/assets/img/posts/d5.png new file mode 100644 index 000000000..fae0608fd Binary files /dev/null and b/assets/img/posts/d5.png differ diff --git a/assets/img/posts/d6.png b/assets/img/posts/d6.png new file mode 100644 index 000000000..fdcf12c58 Binary files /dev/null and b/assets/img/posts/d6.png differ diff --git a/assets/img/posts/deploy-using-github-pages-and-travis.png b/assets/img/posts/deploy-using-github-pages-and-travis.png new file mode 100644 index 000000000..153418aab Binary files /dev/null and b/assets/img/posts/deploy-using-github-pages-and-travis.png differ