Skip to content

Commit

Permalink
script updated
Browse files Browse the repository at this point in the history
  • Loading branch information
sfdevops committed Aug 23, 2024
1 parent 9f53e64 commit 2a0befe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion terraform/tenant-codebuilds/saas-repo-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ git config --global user.name 'sfdevops' || { echo "Failed to configure user nam
if [ -n "$(git status --porcelain)" ]; then
git add . || { echo "Failed to add files"; exit 1; }
git commit -m 'Initial Commit' || { echo "Failed to commit changes"; exit 1; }
git push origin main || { echo "Failed to push changes"; exit 1; }
git push ${GITHUB_REPO_URL} main || { echo "Failed to push changes"; exit 1; }
echo "Changes committed and pushed successfully"
else
echo "Nothing to commit, working tree clean. Exiting..."
Expand Down

0 comments on commit 2a0befe

Please sign in to comment.