forked from teracyhq/sphinx-deployment
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
21 lines (18 loc) · 932 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
language: python
before_script:
- git config --global user.name "Teracy" # Configure your git user.name here
- git config --global user.email "[email protected]" # Configure your git user.email here
- export REPO_URL_GITHUB="https://[email protected]/$GH_REPO.git"
- . ./.travis/setup.sh # make any change needed for setup.sh
- echo $DEPLOY_HTML_DIR
after_script:
- sudo pip install -r docs/requirements.txt --use-mirrors # change this to the right project path
- cd docs
- make setup_gh_pages
- make generate
- make deploy
env:
global:
- GH_REPO="teracy-official/sphinx-deployment" #change this to your right project
# configure the right travis-ci secure key, see sphinx-deployment/README for more details
#- secure: im3gWbsEF135C0jKlOIRJUa1tgtsCAaqwGDSpzwe/fnTosqystNE+mhvFfERmy1K4qRg0cbRYGd8L6pP/V7RR3GMqFX4h5wexZeKsCN895S0d7QIWUmw2yJ3+mvk/g+E6q56tORzhKzKVRef5VWkk84EOKrZ/KIeoVpKVAlVR1s=