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 b8439c8 commit 51df445
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions .github/workflows/updatesubmodules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ jobs:
username: ${{ secrets.USERNAME }}
key: ${{ secrets.KEY }}
script: |
echo hi
# 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 51df445

Please sign in to comment.