From 0de197e786509e9ce6eb60533bcc2a4e777230f8 Mon Sep 17 00:00:00 2001 From: Guillaume Lemaitre Date: Fri, 8 Nov 2019 23:00:39 +0100 Subject: [PATCH] MAINT add user to push the documentation (#630) --- .circleci/config.yml | 3 ++- build_tools/circle/push_doc.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 70e3c4503..f622524bb 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -5,7 +5,8 @@ jobs: docker: - image: circleci/python:3.6.1 environment: - - USERNAME: "imbalanced-learn" + - USERNAME: "glemaitre" + - ORGANIZATION: "imbalanced-learn" - DOC_REPO: "imbalanced-learn.github.io" - DOC_URL: "" - EMAIL: "g.lemaitre58@gmail.com" diff --git a/build_tools/circle/push_doc.sh b/build_tools/circle/push_doc.sh index 24400dcf7..649a8cf58 100755 --- a/build_tools/circle/push_doc.sh +++ b/build_tools/circle/push_doc.sh @@ -27,7 +27,7 @@ MSG="Pushing the docs to $dir/ for branch: $CIRCLE_BRANCH, commit $CIRCLE_SHA1" cd $HOME if [ ! -d $DOC_REPO ]; -then git clone --depth 1 --no-checkout -b master "git@github.com:"$USERNAME"/"$DOC_REPO".git"; +then git clone --depth 1 --no-checkout -b master "git@github.com:"$ORGAMIZATION"/"$DOC_REPO".git"; fi cd $DOC_REPO git config core.sparseCheckout true