Skip to content

Commit

Permalink
fix: fix syntax error in git remote configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
josephpage committed Jun 21, 2023
1 parent e6f4943 commit 0e9d15b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -183,14 +183,15 @@ runs:
exit 0
fi
if [ -z $SCALINGO_REGION }}" ]; then
if [ -z $SCALINGO_REGION ]; then
echo "WARNING: No app name. The git remote cannot be configured without an app name."
exit 0
fi
# Configure the git remote only if .git directory exists
if [ ! -d .git ]; then
echo "------> No .git directory found, skipping git remote configuration"
exit 0
fi
scalingo git-setup --remote ${{ inputs.git_remote }}
Expand Down

0 comments on commit 0e9d15b

Please sign in to comment.