File tree Expand file tree Collapse file tree 1 file changed +13
-15
lines changed
Expand file tree Collapse file tree 1 file changed +13
-15
lines changed Original file line number Diff line number Diff line change 11#! /usr/bin/env bash
22set -e
3- if [ " ${TRAVIS_JOB} " = " ansible" ] && [ " ${TRAVIS_EVENT_TYPE} " = " pull_request" ]; then
4- echo " Deploy mkdocs"
5- SCRIPT_PATH=" $( cd " $( dirname " $0 " ) " && pwd -P) "
6- sudo pip install mkdocs
7- mkdir mkdocs_build
8- cd mkdocs_build
9- # Initialize gh-pages checkout
10- DATE=` date`
11- git clone https://github.com/ARTbio/metavisitor.git
12- cd metavisitor
13- git config credential.helper " store --file=.git/credentials"
14- echo " https://${GH_TOKEN} :@github.com" > .git/credentials
15- mkdocs gh-deploy --clean -m " gh-deployed by travis $DATE "
16- cd $SCRIPT_PATH
17- fi
3+ echo " Deploy mkdocs"
4+ SCRIPT_PATH=" $( cd " $( dirname " $0 " ) " && pwd -P) "
5+ sudo pip install mkdocs
6+ mkdir mkdocs_build
7+ cd mkdocs_build
8+ # Initialize gh-pages checkout
9+ DATE=` date`
10+ git clone https://github.com/ARTbio/metavisitor.git
11+ cd metavisitor
12+ git config credential.helper " store --file=.git/credentials"
13+ echo " https://${GH_TOKEN} :@github.com" > .git/credentials
14+ mkdocs gh-deploy --clean -m " gh-deployed by travis $DATE "
15+ cd $SCRIPT_PATH
You can’t perform that action at this time.
0 commit comments