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 0efafe2 commit b8439c8
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,14 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
cd /opt/software-discovery-tool-deploy
git checkout -b "$(date +%b%d)"
echo hi
# cd /opt/software-discovery-tool-deploy
# git checkout -b "$(date +%b%d)"
# 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"
# 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 b8439c8

Please sign in to comment.