Skip to content

Commit 804b290

Browse files
devversionjelbourn
authored andcommitted
build: fix publish snapshot job not working (#13948)
Fixes that the publish snapshot job is not able to push the artifacts to Github.
1 parent 9969239 commit 804b290

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.circleci/config.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -215,6 +215,11 @@ jobs:
215215
name: Check whether this job should be skipped.
216216
command: '[[ -n ${CIRCLE_PR_NUMBER} ]] && circleci step halt || true'
217217

218+
# CircleCI has a config setting to enforce SSH for all github connections.
219+
# This is not compatible with our mechanism of using a Personal Access Token
220+
# to publish the build snapshots. In order to fix this, we unset the global option.
221+
- run: git config --global --unset "url.ssh://[email protected]"
222+
218223
- *checkout_code
219224
- *restore_cache
220225
- *yarn_install

0 commit comments

Comments
 (0)