From cc32916d4e24a6177a674a78838da68ef414844c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eloy=20Dur=C3=A1n?= Date: Mon, 23 Mar 2020 12:08:31 +0100 Subject: [PATCH 1/2] [CI] Seed ssh known hosts with github's public key --- .circleci/config.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 73de8275915c8e..a532a6f863d35b 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -600,7 +600,6 @@ jobs: # JOBS: Releases # ------------------------- # Publishes new version onto npm - # Only works on stable branches when a properly tagged commit is pushed publish_npm_package: parameters: publish_npm_args: @@ -608,9 +607,11 @@ jobs: default: --nonightly executor: reactnativeandroid steps: - - add_ssh_keys: - fingerprints: - - "SHA256:nThbg6kXUpJWGl7E1IGOCspRomTxdCARLviKw6E5SY8" + - run: + name: Add github.com to SSH known hosts + command: | + mkdir -p ~/.ssh + echo '|1|If6MU203eXTaaWL678YEfWkVMrw=|kqLeIAyTy8pzpj8x8Ae4Fr8Mtlc= ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==' >> ~/.ssh/known_hosts - restore_cache_checkout: checkout_type: android - run_yarn From ed3a8bf01cf48c92241204ab2df098c54f56e4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?H=C3=A9ctor=20Ramos?= <165856+hramos@users.noreply.github.com> Date: Mon, 23 Mar 2020 11:17:24 -0700 Subject: [PATCH 2/2] Update config.yml --- .circleci/config.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index a532a6f863d35b..e0b827d829b679 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -599,7 +599,7 @@ jobs: # ------------------------- # JOBS: Releases # ------------------------- - # Publishes new version onto npm + # Publishes a new version onto npm publish_npm_package: parameters: publish_npm_args: