on the way to read the docs

This commit is contained in:
Richard Hartmann 2018-03-21 14:16:11 +01:00
parent a8e8b3c8e9
commit 308bcaeed8
9 changed files with 0 additions and 22 deletions

View file

@ -1,22 +0,0 @@
#!/bin/bash
pip install sphinx
pip install sphinx_rtd_theme
openssl aes-256-cbc -K $encrypted_b45fa9d06fcb_key -iv $encrypted_b45fa9d06fcb_iv -in deploy_key.enc -out deploy_key -d
chmod 600 deploy_key
eval `ssh-agent -s`
ssh-add deploy_key
mkdir build
cd build
git clone https://github.com/cimatosa/stocproc.git --branch gh-pages html
cd ..
make html
cd build/html
git config user.name "travis gh-pages"
git config user.email "$COMMIT_AUTHOR_EMAIL"
git add .
SHA=`git rev-parse --verify HEAD`
REPO=`git config remote.origin.url`
SSH_REPO=${REPO/https:\/\/github.com\//git@github.com:}
git commit -m "Deploy to GitHub Pages $SHA"
git push $SSH_REPO gh-pages

Binary file not shown.