Skip to content

Commit 66cca75

Browse files
authored
changed directory to avoid conflicting deployment
Signed-off-by: Divya Goswami <[email protected]>
1 parent 40d8a51 commit 66cca75

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.github/workflows/updatesubmodules.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@ jobs:
1313
username: ${{ secrets.USERNAME }}
1414
key: ${{ secrets.KEY }}
1515
script: |
16-
cd /opt/software-discovery-tool
16+
cd ~/software-discovery-tool
1717
git checkout -b "$(date +%b%d)"
18-
cd /opt/software-discovery-tool/distro_data
18+
cd ~/software-discovery-tool/distro_data
1919
git checkout main
2020
git pull origin main
21-
cd /opt/software-discovery-tool
21+
cd ~/software-discovery-tool
2222
git remote remove git_update
2323
git remote add git_update https://${{ secrets.SDT_USER_PUSH }}:${{ secrets.SDT_PAT_PUSH }}@github.com/openmainframeproject/software-discovery-tool.git
2424
git commit -sam "Auto updated submodule references" && git push git_update "$(date +%b%d)" || echo "No changes to commit"

0 commit comments

Comments
 (0)