From 284a43ed5ba50821d27a51cd52a2d7166788b82b Mon Sep 17 00:00:00 2001 From: Martim Passos <49573683+martimpassos@users.noreply.github.com> Date: Thu, 11 Apr 2024 15:13:16 -0300 Subject: [PATCH] Fix submodule path --- .github/workflows/update.yaml | 3 +++ .gitmodules | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/update.yaml b/.github/workflows/update.yaml index 336874b2..6c7cfe98 100644 --- a/.github/workflows/update.yaml +++ b/.github/workflows/update.yaml @@ -56,10 +56,13 @@ jobs: etl - name: Commit and push changes + env: + PERSONAL_ACCESS_TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} run: | cd data git config user.name github-actions git config user.email github-actions@github.com + git remote set-url origin https://x-access-token:${PERSONAL_ACCESS_TOKEN}@github.com/imaginerio/imaginerio-data.git git add . git commit -m "Auto updated data" && git push origin HEAD:main || echo "No changes to commit" cd .. diff --git a/.gitmodules b/.gitmodules index 8befeecf..eefacdb6 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,3 +1,3 @@ [submodule "data"] path = data - url = https://github.com/imaginerio/situated-views-data.git \ No newline at end of file + url = https://github.com/imaginerio/imaginerio-data.git \ No newline at end of file