File tree Expand file tree Collapse file tree 1 file changed +18
-18
lines changed
Expand file tree Collapse file tree 1 file changed +18
-18
lines changed Original file line number Diff line number Diff line change @@ -103,24 +103,24 @@ jobs:
103103 name : Deploy docs
104104 command : |
105105 set -e;
106- if [ "${CIRCLE_BRANCH}" == "master" ]; then
107- git config --global user.email "circle@PythonOT.com";
108- git config --global user.name "Circle CI";
109- cd ~/PythonOT.github.io;
110- git checkout master
111- git remote -v
112- git fetch origin
113- git reset --hard origin/master
114- git clean -xdf
115- echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
116- cp -a /tmp/build/html/* .;
117- touch .nojekyll;
118- git add -A;
119- git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM}).";
120- git push origin master;
121- else
122- echo "No deployment (build: ${CIRCLE_BRANCH}).";
123- fi
106+ # if [ "${CIRCLE_BRANCH}" == "master" ]; then
107+ git config --global user.email "circle@PythonOT.com";
108+ git config --global user.name "Circle CI";
109+ cd ~/PythonOT.github.io;
110+ git checkout master
111+ git remote -v
112+ git fetch origin
113+ git reset --hard origin/master
114+ git clean -xdf
115+ echo "Deploying dev docs for ${CIRCLE_BRANCH}.";
116+ cp -a /tmp/build/html/* .;
117+ touch .nojekyll;
118+ git add -A;
119+ git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM}).";
120+ git push origin master;
121+ # else
122+ # echo "No deployment (build: ${CIRCLE_BRANCH}).";
123+ # fi
124124
125125workflows :
126126 version : 2
You can’t perform that action at this time.
0 commit comments