From a56ab5aa56128094e83508525ab53cf89af0304b Mon Sep 17 00:00:00 2001 From: Dylan Maccora Date: Sun, 8 Apr 2018 09:04:44 +1000 Subject: [PATCH] Theme deployment --- docs/content/documentation/deployment/github-pages.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/content/documentation/deployment/github-pages.md b/docs/content/documentation/deployment/github-pages.md index 0dffde5b..f522cea5 100644 --- a/docs/content/documentation/deployment/github-pages.md +++ b/docs/content/documentation/deployment/github-pages.md @@ -11,6 +11,16 @@ We are going to use [TravisCI](https://travis-ci.org) to automatically publish t 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. +## Ensure Travis can access your theme + +Depending on how you added your theme Travis may not exactly know how to access +it. The best way to ensure it will have full access to the theme is to use git +submodules. When doing this ensure you are using the `https` version of the URL. + +```shell +$ git submodule add {THEME_URL} themes/{THEME_NAME} +``` + ## Allowing Travis to push to GitHub Before pushing anything, Travis needs a Github private access key in order to make changes to your repository.