Skip to content

Commit fc9b8ca

Browse files
committed
build docs automatically via Travis CI
This uses the approach from https://gist.github.com/domenic/ec8b0fc8ab45f39403dd where a custom SSH key is used for deploying. The SSH private key is stored in encrypted form in the repo itself, but it can only be decrypted with another key that is kept secret by Travis CI. The generated docs end up in the gh-pages branch of the repo. The generated docs get removed. This will make merging PRs a lot simpler (no more rebasing because of conflicts in the generated HTML). Fixes: #79
1 parent a3cbe16 commit fc9b8ca

File tree

96 files changed

+84
-20083
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+84
-20083
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,3 +7,4 @@ docs/example
77

88
/mdbook
99
/mdbook*.tar.gz
10+
/docs

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
language: generic
2+
3+
script: bash ./hack/deploy.sh
4+
env:
5+
global:
6+
- ENCRYPTION_LABEL: "4d61ca75e316" # from travis encrypt-file deploy_key, see https://gist.github.com/domenic/ec8b0fc8ab45f39403dd#get-encrypted-credentials
7+
- COMMIT_AUTHOR_EMAIL: "travis-ci@kubernetes-csi"

docs/.nojekyll

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/Archive.html

Lines changed: 0 additions & 201 deletions
This file was deleted.

0 commit comments

Comments
 (0)