Skip to content

Commit 6cec4a2

Browse files
committed
Fix deploy key config (hopefully)
1 parent 56951d7 commit 6cec4a2

File tree

3 files changed

+4
-1
lines changed

3 files changed

+4
-1
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
deploy_key

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,10 @@ install:
55
- tar -xzvf mdbook-*.tar.gz
66
script:
77
./mdbook build
8+
before_deploy:
9+
openssl aes-256-cbc -K $encrypted_189e52c2c347_key -iv $encrypted_189e52c2c347_iv -in deploy_key.enc -out deploy_key -d
810
deploy:
911
edge: true # use Travis-CI dpl v2
1012
provider: pages
1113
local_dir: book
12-
deploy_key: $GITHUB_REPO_DEPLOY_KEY # Set in the settings page of your repository, as a secure variable
14+
deploy_key: deploy_key

deploy_key.enc

1.64 KB
Binary file not shown.

0 commit comments

Comments
 (0)