From 3375e7a8f1fa0af8632220b0384f5c16a1ee6f04 Mon Sep 17 00:00:00 2001 From: Shaleen Jain Date: Wed, 23 Jan 2019 13:30:50 +0530 Subject: [PATCH] doc: add a Github Action to deploy to Github Pages --- docs/content/documentation/deployment/github-pages.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/documentation/deployment/github-pages.md b/docs/content/documentation/deployment/github-pages.md index 6ca934d..ecf273f 100644 --- a/docs/content/documentation/deployment/github-pages.md +++ b/docs/content/documentation/deployment/github-pages.md @@ -7,6 +7,13 @@ By default, GitHub Pages uses Jekyll (A ruby based static site generator), but you can use whatever you want provided you have an `index.html` file in the root of a branch called `gh-pages`. That branch name can also be manually changed in the settings of a repository. +We can use any CI server to build and deploy our site. For example: + + * [Github Actions](https://github.com/shalzz/zola-deploy-action) + * [Travis CI](#travis-ci) + +## Travis CI + We are going to use [TravisCI](https://travis-ci.org) to automatically publish the site. If you are not using Travis already, you will need to login with the GitHub OAuth and activate Travis for the repository. Don't forget to also check if your repository allows GitHub Pages in its settings.