Skip to content

Commit 2cccc5c

Browse files
Fixed log capture error
1 parent ac2de33 commit 2cccc5c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/prod_push_update_to_server.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ jobs:
4444
4545
- name: Check for errors in the output
4646
run: |
47-
if grep -i -e "error" -e "fatal" -e "exception" -e "fail" -e "critical" -e "segfault" -e "panic" -e "abort" -e "unable" -e "invalid" -e "stack trace" -e "segmentation fault" -e "timeout" -e "missing" -e "not found" -e "permission denied" -e "unsuccessful" -e "could not" -e "fatal error" -e "unsupported" -e "unable to" output.log; then
47+
if echo "${{ steps.ssh-step.outputs.stdout }}" | grep -i -e "error" -e "fatal" -e "exception" -e "fail" -e "critical" -e "segfault" -e "panic" -e "abort" -e "unable" -e "invalid" -e "stack trace" -e "segmentation fault" -e "timeout" -e "missing" -e "not found" -e "permission denied" -e "unsuccessful" -e "could not" -e "fatal error" -e "unsupported" -e "unable to"; then
4848
echo "Error found, failing the workflow."
4949
exit 1
5050
fi
51-
continue-on-error: false
51+
continue-on-error: false

0 commit comments

Comments
 (0)