File tree 1 file changed +17
-16
lines changed
1 file changed +17
-16
lines changed Original file line number Diff line number Diff line change @@ -157,22 +157,23 @@ elif [[ "${JOB_BASE_NAME}" == *manager ]]; then
157
157
7z a manager.7z docs
158
158
aws s3 cp manager.7z s3://${BUCKET_NAME} /${COMMIT_ID} /manager.7z --acl public-read
159
159
160
- # Step 7: push new HTML files and static files to gh-pages
161
- if [[ " $COMMIT_SOURCE " == master ]]; then
162
- git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
163
- cp -r docs/* gh-pages/
164
- pushd gh-pages
165
- # DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!
166
- set +x
167
- git remote set-url origin https://${GITHUB_PYTORCHBOT_USERNAME} :${GITHUB_PYTORCHBOT_TOKEN} @github.com/pytorch/tutorials.git
168
- set -x
169
- git add -f -A || true
170
- git config user.email " soumith+bot@pytorch.org"
171
- git config user.name " pytorchbot"
172
- git commit -m " Automated tutorials push" || true
173
- git status
174
- git push origin gh-pages
175
- fi
160
+ # yf225 TODO: re-enable this after tutorial build is fixed
161
+ # # Step 7: push new HTML files and static files to gh-pages
162
+ # if [[ "$COMMIT_SOURCE" == master ]]; then
163
+ # git clone https://github.com/pytorch/tutorials.git -b gh-pages gh-pages
164
+ # cp -r docs/* gh-pages/
165
+ # pushd gh-pages
166
+ # # DANGER! DO NOT REMOVE THE `set +x` SETTING HERE!
167
+ # set +x
168
+ # git remote set-url origin https://${GITHUB_PYTORCHBOT_USERNAME}:${GITHUB_PYTORCHBOT_TOKEN}@github.com/pytorch/tutorials.git
169
+ # set -x
170
+ # git add -f -A || true
171
+ # git config user.email "soumith+bot@pytorch.org"
172
+ # git config user.name "pytorchbot"
173
+ # git commit -m "Automated tutorials push" || true
174
+ # git status
175
+ # git push origin gh-pages
176
+ # fi
176
177
else
177
178
make docs
178
179
fi
You can’t perform that action at this time.
0 commit comments