diff --git a/.gitmodules b/.gitmodules index b5081fc6f..7c739efdd 100755 --- a/.gitmodules +++ b/.gitmodules @@ -1,9 +1,8 @@ -[submodule "packages/graphql/submodules/berachain-subgraph"] - path = packages/graphql/submodules/berachain-subgraph - url = https://github.com/berachain/berachain-subgraph.git -[submodule "packages/b-sdk"] - path = packages/b-sdk - url = https://github.com/berachain/berancer-sdk.git + [submodule "secrets"] path = secrets url = https://github.com/berachain/internal-dapps-env.git + +[submodule "packages/b-sdk"] + path = packages/b-sdk + url = https://github.com/berachain/berancer-sdk.git \ No newline at end of file diff --git a/.scripts/update-secret-submodule.sh b/.scripts/update-secret-submodule.sh index 0df599bbe..1d006b259 100644 --- a/.scripts/update-secret-submodule.sh +++ b/.scripts/update-secret-submodule.sh @@ -18,10 +18,13 @@ git submodule set-url "$SUBMODULE_NAME" "$AUTH_URL" # Sync and update the submodule in the Git repository git submodule sync "$SUBMODULE_NAME" -git submodule update --init +git submodule init +git submodule update --init --recursive cat .gitmodules -ls packages/b-sdk +cat packages/b-sdk/CODEOWNERS + + # echo "The URL of the submodule '$SUBMODULE_NAME' has been updated to '$AUTH_URL'."