mirror of
https://github.com/vale981/stocproc
synced 2025-03-04 17:21:42 -05:00
on the way to read the docs
This commit is contained in:
parent
a8e8b3c8e9
commit
308bcaeed8
9 changed files with 0 additions and 22 deletions
|
@ -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.
Loading…
Add table
Reference in a new issue