From d80a51c44eb977d396cec66d88702f8b3c7411ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Hin=C3=BCber?= <105521415+larshinueber@users.noreply.github.com> Date: Mon, 19 Aug 2024 22:32:32 +0200 Subject: [PATCH] update workflow --- .github/workflows/sync-foo-space.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/sync-foo-space.yml b/.github/workflows/sync-foo-space.yml index 339eb00..e5c073f 100644 --- a/.github/workflows/sync-foo-space.yml +++ b/.github/workflows/sync-foo-space.yml @@ -9,7 +9,7 @@ env: SOURCE_DIR: ./src/ TARGET_OWNER: larshinueber TARGET_REPO: foo-space - TARGET_DIR: foo-space/docs/source/_src_getting_started/_src_examples/notebooks/ + TARGET_DIR: docs/source/_src_getting_started/_src_examples/notebooks/foopy-examples USER_NAME: github-actions USER_EMAIL: github-actions@github.com @@ -31,11 +31,14 @@ jobs: ref: submodules submodules: true # path: ./${{ env.TARGET_REPO }} - # - name: Fetch new commits - # run: | + - name: Fetch new commits + run: | # git pull --recurse-submodules # git submodule update --remote --recursive # git submodule update --remote + cd ${{ env.TARGET_DIR }} + git checkout -b submodules + - name: Commit and push changes uses: stefanzweifel/git-auto-commit-action@v5 with: