Skip to content

Commit d936b07

Browse files
committed
deploy documentation stage is not conditional anymore
1 parent a14e47d commit d936b07

File tree

1 file changed

+13
-15
lines changed

1 file changed

+13
-15
lines changed

deploy_doc.sh

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,15 @@
11
#!/usr/bin/env bash
22
set -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

0 commit comments

Comments
 (0)