2015-11-19 05:33:07 +00:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
set -ex
|
|
|
|
|
|
|
|
cp doc/* target/doc/
|
|
|
|
pip install ghp-import --user
|
|
|
|
$HOME/.local/bin/ghp-import -n target/doc
|
|
|
|
|
2017-02-10 00:09:48 +00:00
|
|
|
openssl aes-256-cbc -K $encrypted_9e86330b283d_key -iv $encrypted_9e86330b283d_iv -in ./ci/deploy.enc -out ./ci/deploy -d
|
|
|
|
chmod 600 ./ci/deploy
|
|
|
|
ssh-add ./ci/deploy
|
2015-11-19 05:33:07 +00:00
|
|
|
git push -qf ssh://git@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|