Browse Source

Merge pull request #598 from shalzz/patch-2

doc: add a Github Action to deploy to Github Pages
index-subcmd
Vincent Prouillet GitHub 5 years ago
parent
commit
b9a72696a2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 0 deletions
  1. +7
    -0
      docs/content/documentation/deployment/github-pages.md

+ 7
- 0
docs/content/documentation/deployment/github-pages.md View File

@@ -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.


Loading…
Cancel
Save