Skip to content

Commit 2fbedb6

Browse files
committed
Add proper GHA error formatting
1 parent 22c2513 commit 2fbedb6

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

operations/_scripts/deploy/deploy.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,7 @@ fi
4141
# 'st2_ansible_extra_vars_file' to override the default StackStorm configuration
4242
if [[ -n $ST2_ANSIBLE_EXTRA_VARS_FILE ]]; then
4343
if [[ ! -f $GITHUB_WORKSPACE/$ST2_ANSIBLE_EXTRA_VARS_FILE ]]; then
44-
echo "Configuration error:"
45-
echo "File '$ST2_ANSIBLE_EXTRA_VARS_FILE' set in 'st2_ansible_extra_vars_file' does not exist!"
44+
echo "::error::File '$ST2_ANSIBLE_EXTRA_VARS_FILE' set in 'st2_ansible_extra_vars_file' does not exist!"
4645
exit 1
4746
fi
4847

0 commit comments

Comments
 (0)