From b824c336e94c7efaeeb7c5fb3e6af60e47c141c3 Mon Sep 17 00:00:00 2001 From: Chen Yu Dong Date: Tue, 27 Aug 2024 21:39:08 +0800 Subject: [PATCH] ci: fix init remote github (e2b70f6e) --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d0347074..ddaedb1fb 100755 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -66,6 +66,7 @@ push_master_to_github: - base64 --decode --ignore-garbage ~/.ssh/id_rsa_base64 > ~/.ssh/id_rsa - chmod 600 ~/.ssh/id_rsa - echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config + - git remote remove github &>/dev/null || true - git remote add github git@github.com:espressif/esp32-wifi-lib.git # Ref: esp-idf tools/ci/push_to_github.sh - |