deploy.sh 357 B

123456789101112
  1. #!/bin/sh
  2. set -ex
  3. cp doc/* target/doc/
  4. pip install ghp-import --user
  5. $HOME/.local/bin/ghp-import -n target/doc
  6. openssl aes-256-cbc -K $encrypted_9e86330b283d_key -iv $encrypted_9e86330b283d_iv -in .travis/deploy.enc -out .travis/deploy -d
  7. chmod 600 .travis/deploy
  8. ssh-add .travis/deploy
  9. git push -qf ssh://[email protected]/${TRAVIS_REPO_SLUG}.git gh-pages