diff options
author | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2020-04-21 11:19:41 +0200 |
---|---|---|
committer | Alexandre Gramfort <alexandre.gramfort@m4x.org> | 2020-04-21 11:19:41 +0200 |
commit | f48d51579d843f12a73f29d44374bb63e627238d (patch) | |
tree | acb3f4b59c70f7ff4906765edfeaab7a3813e6d3 /.circleci/config.yml | |
parent | 555f8426a8cb66ae5255885ce555037dc8c72c53 (diff) |
try to push doc to github.io
Diffstat (limited to '.circleci/config.yml')
-rw-r--r-- | .circleci/config.yml | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/.circleci/config.yml b/.circleci/config.yml index 9701ad1..455b700 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -103,24 +103,24 @@ jobs: name: Deploy docs command: | set -e; - if [ "${CIRCLE_BRANCH}" == "master" ]; then - git config --global user.email "circle@PythonOT.com"; - git config --global user.name "Circle CI"; - cd ~/PythonOT.github.io; - git checkout master - git remote -v - git fetch origin - git reset --hard origin/master - git clean -xdf - echo "Deploying dev docs for ${CIRCLE_BRANCH}."; - cp -a /tmp/build/html/* .; - touch .nojekyll; - git add -A; - git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM})."; - git push origin master; - else - echo "No deployment (build: ${CIRCLE_BRANCH})."; - fi + # if [ "${CIRCLE_BRANCH}" == "master" ]; then + git config --global user.email "circle@PythonOT.com"; + git config --global user.name "Circle CI"; + cd ~/PythonOT.github.io; + git checkout master + git remote -v + git fetch origin + git reset --hard origin/master + git clean -xdf + echo "Deploying dev docs for ${CIRCLE_BRANCH}."; + cp -a /tmp/build/html/* .; + touch .nojekyll; + git add -A; + git commit -m "CircleCI update of dev docs (${CIRCLE_BUILD_NUM})."; + git push origin master; + # else + # echo "No deployment (build: ${CIRCLE_BRANCH})."; + # fi workflows: version: 2 |