[CI] re-export token

This commit is contained in:
JAremko 2019-12-09 23:40:56 +02:00 committed by Eugene Yaremenko
parent d288a5cbab
commit 2e27ad0c6d
2 changed files with 4 additions and 0 deletions

View File

@ -30,6 +30,8 @@ else
exit 0
fi
export GITHUB_TOKEN=$BOT_TK
fold_start "CLONING_TARGET_REPOSITORY"
target_URL="https://github.com/syl20bnr/${PUBLISH}.git"
git clone "${target_URL}" -b gh-pages "/tmp/${PUBLISH}"

View File

@ -28,6 +28,8 @@ else
exit 0
fi
export GITHUB_TOKEN=$BOT_TK
fold_start "CLONING_TARGET_REPOSITORY"
target_URL="https://github.com/${SPACEMACS_REPO_SLUG}.git"
git clone "${target_URL}" -b "${TRAVIS_BRANCH}" "/tmp/${PUBLISH}"