Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ThePat02 committed Jan 4, 2024
1 parent ef46933 commit eafe9c5
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/update_submodule.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,24 @@ jobs:
- name: Checkout
uses: actions/checkout@v2


- name: Update from Main
- name: Setup Git
run: |
git config --local user.email "${{ secrets.OWNER_MAIL }}"
git config --local user.name "${{ secrets.OWNER_USERNAME }}"
git fetch
- name: Clean Submodule
run: |
git checkout submodule
git rm -r .
- name: Update from Main
run: |
git checkout main -- addons/behaviour_toolkit
mv addons/behaviour_toolkit/* .
git rm -r addons/behaviour_toolkit
- name: Commit to Submodule
run: |
git commit -m Updated Submodule from Main
git push

0 comments on commit eafe9c5

Please sign in to comment.