From a9e34a8994a8e2e28695cdc6df968ce4bb68a12e Mon Sep 17 00:00:00 2001 From: roxanne-o Date: Mon, 25 Nov 2024 21:05:02 +0000 Subject: [PATCH] i doubt this will work --- .github/workflows/update-glhub.yaml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/update-glhub.yaml b/.github/workflows/update-glhub.yaml index a6b78ecf..8a10bbbe 100644 --- a/.github/workflows/update-glhub.yaml +++ b/.github/workflows/update-glhub.yaml @@ -7,7 +7,7 @@ jobs: update-glhub: runs-on: ubuntu-latest environment: live - + steps: - name: Checkout glhub uses: actions/checkout@v4 @@ -19,4 +19,11 @@ jobs: - name: Update GLHub run: | cd glhub - ls + git submodule update --init --recursive + git submodule update --remote + git add . + git commit -m "Update submodule" + git push https://roxanne-o:${{ secrets.GH_PAT }}@github.com/groundlight/glhub.git main + env: + GIT_AUTHOR_NAME: "roxanne-o" + GIT_AUTHOR_EMAIL: "roxanne@groundlight.ai"