mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
build: fix publish snapshot job not working (#13948)
Fixes that the publish snapshot job is not able to push the artifacts to Github.
This commit is contained in:
committed by
Jeremy Elbourn
parent
44f616a929
commit
94c60d661a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user