Skip to content

Commit

Permalink
auto sync with main repo
Browse files Browse the repository at this point in the history
Signed-off-by: rachejazz <[email protected]>
  • Loading branch information
rachejazz committed May 23, 2024
1 parent 6d76103 commit 7b4cbc0
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: Sync submodules
on: workflow_dispatch
jobs:

build:
sync:
name: Sync with Main repo
runs-on: ubuntu-latest
steps:
Expand All @@ -13,6 +13,7 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
git pull --recurse-submodules
git submodule update --remote --recursive
git commit -sam "Auto updated submodule references" && git push || echo "No changes to commit"
cd /opt/software-discovery-tool-deploy
git pull --recurse-submodules
git submodule update --remote --recursive
git commit -sam "Auto updated submodule references" && git push || echo "No changes to commit"

0 comments on commit 7b4cbc0

Please sign in to comment.