From 54656ece644778b743f05293df632c6c5ce7f52a Mon Sep 17 00:00:00 2001 From: Fu Hanxi Date: Tue, 24 Jun 2025 09:09:07 +0200 Subject: [PATCH] ci: remove cached submodule metadata while checking with github --- .gitlab/ci/deploy.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab/ci/deploy.yml b/.gitlab/ci/deploy.yml index 1df1004ee8..58b951b4b5 100644 --- a/.gitlab/ci/deploy.yml +++ b/.gitlab/ci/deploy.yml @@ -19,6 +19,7 @@ check_submodule_sync: dependencies: [] script: - git submodule deinit --force . + - rm -rf .git/modules # remove all the cached metadata # setting the default remote URL to the public one, to resolve relative location URLs - git config remote.origin.url ${PUBLIC_IDF_URL} # check if all submodules are correctly synced to public repository