Skip to content

Commit 0e9d15b

Browse files
committed
fix: fix syntax error in git remote configuration
1 parent e6f4943 commit 0e9d15b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,14 +183,15 @@ runs:
183183
exit 0
184184
fi
185185
186-
if [ -z $SCALINGO_REGION }}" ]; then
186+
if [ -z $SCALINGO_REGION ]; then
187187
echo "WARNING: No app name. The git remote cannot be configured without an app name."
188188
exit 0
189189
fi
190190
191191
# Configure the git remote only if .git directory exists
192192
if [ ! -d .git ]; then
193193
echo "------> No .git directory found, skipping git remote configuration"
194+
exit 0
194195
fi
195196
196197
scalingo git-setup --remote ${{ inputs.git_remote }}

0 commit comments

Comments
 (0)