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 25, 2024
1 parent 29aa93b commit 0efafe2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,11 @@ jobs:
script: |
cd /opt/software-discovery-tool-deploy
git checkout -b "$(date +%b%d)"
git pull --recurse-submodules origin main
git submodule update --remote --recursive
# git pull --recurse-submodules origin main
# git submodule update --remote --recursive
cd /opt/software-discovery-tool
git pull origin master
cd /opt/software-discovery-tool
git remote remove git_update
git remote add git_update https://${{ secrets.SDT_USER_PUSH }}:${{ secrets.SDT_PAT_PUSH }}@github.com/rachejazz/software-discovery-tool-deploy.git
git commit -sam "Auto updated submodule references" && git push git_update "$(date +%b%d)" || echo "No changes to commit"

0 comments on commit 0efafe2

Please sign in to comment.