From 94c60d661aaebfd6c5f1c2be8e117aff2ba6b8a8 Mon Sep 17 00:00:00 2001 From: Paul Gschwendtner Date: Fri, 2 Nov 2018 22:29:57 +0100 Subject: [PATCH] build: fix publish snapshot job not working (#13948) Fixes that the publish snapshot job is not able to push the artifacts to Github. --- .circleci/config.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.circleci/config.yml b/.circleci/config.yml index e0dc265590b..871a54a7ec3 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -215,6 +215,11 @@ jobs: name: Check whether this job should be skipped. command: '[[ -n ${CIRCLE_PR_NUMBER} ]] && circleci step halt || true' + # CircleCI has a config setting to enforce SSH for all github connections. + # This is not compatible with our mechanism of using a Personal Access Token + # to publish the build snapshots. In order to fix this, we unset the global option. + - run: git config --global --unset "url.ssh://git@github.com.insteadof" + - *checkout_code - *restore_cache - *yarn_install