Skip to content

Commit e50a361

Browse files
committed
Updated docker that runs against development source to not generate gh-pages.
1 parent a0b0599 commit e50a361

File tree

1 file changed

+1
-23
lines changed

1 file changed

+1
-23
lines changed

docker/run_python.sh

Lines changed: 1 addition & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -73,23 +73,18 @@ while getopts ":API_KEY:FILENAME:ALT_URL:GIT_USERNAME:VERSION" arg; do
7373
case "${arg}" in
7474
API_KEY)
7575
API_KEY=${OPTARG}
76-
usage
7776
;;
7877
ALT_URL)
7978
ALT_URL=${OPTARG}
80-
usage
8179
;;
8280
FILENAME)
8381
FILENAME=${OPTARG}
84-
usage
8582
;;
8683
GIT_USERNAME)
8784
GIT_USERNAME=${OPTARG}
88-
usage
8985
;;
9086
VERSION)
91-
VERSION={OPTARG}
92-
usage
87+
VERSION=${OPTARG}
9388
;;
9489
esac
9590
done
@@ -123,21 +118,4 @@ fi
123118
cd /python-dev
124119
tox
125120

126-
#Generate gh-pages and push them to git account (if git username is provided)
127-
if [ ! -z ${GIT_USERNAME} ] && [ ! -z ${VERSION} ]; then
128-
#clone python git repo
129-
cd /
130-
git clone [email protected]:${GIT_USERNAME}/python.git
131-
cd python
132-
git checkout origin/gh-pages -b gh-pages
133-
git branch -d develop
134-
#generate gh-pages and set ouput dir to git repo (gh-pages branch)
135-
cd /python-dev
136-
.tox/py27/bin/epydoc -v --no-private --no-frames --css epydoc.css -o /python rosette/*.py
137-
cd /python
138-
git add .
139-
git commit -a -m "publish python apidocs ${VERSION}"
140-
git push
141-
fi
142-
143121
exit ${retcode}

0 commit comments

Comments
 (0)