File tree Expand file tree Collapse file tree 1 file changed +19
-20
lines changed Expand file tree Collapse file tree 1 file changed +19
-20
lines changed Original file line number Diff line number Diff line change @@ -103,24 +103,24 @@ jobs:
103
103
name : Deploy docs
104
104
command : |
105
105
set -e;
106
- # if [ "${CIRCLE_BRANCH}" == "master" ]; then
107
- git config --global user.email "[email protected] ";
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 "[email protected] ";
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
124
124
125
125
workflows :
126
126
version : 2
@@ -134,5 +134,4 @@ workflows:
134
134
filters :
135
135
branches :
136
136
only :
137
- # - master
138
- - doc_ci_build
137
+ - master
You can’t perform that action at this time.
0 commit comments