Browse Source

Merge pull request #281 from maccoda/master

Theme deployment
index-subcmd
Vincent Prouillet GitHub 6 years ago
parent
commit
165b06133a
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 10 additions and 0 deletions
  1. +10
    -0
      docs/content/documentation/deployment/github-pages.md

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

@@ -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. 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. 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 ## Allowing Travis to push to GitHub


Before pushing anything, Travis needs a Github private access key in order to make changes to your repository. Before pushing anything, Travis needs a Github private access key in order to make changes to your repository.


Loading…
Cancel
Save