We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4399ee9 commit f5bbb0bCopy full SHA for f5bbb0b
.github/workflows/ci.yml
@@ -52,11 +52,12 @@ jobs:
52
- name: Search for errors/warnings in error log
53
run: |
54
errors=$(grep -E ':(?error|warn)[]]' /var/log/apache2/error.log)
55
- if [ -n "${errors}" ]; then
+ if [[ -n "${errors}" ]]; then
56
echo "Found errors/warnings in error.log"
57
echo "${errors}"
58
exit 1
59
fi
60
+ exit 0
61
- name: Show httpd error log
62
if: always()
63
run: sudo cat /var/log/apache2/error.log
0 commit comments