Skip to content

Commit

Permalink
fix(gitAction) : grep error
Browse files Browse the repository at this point in the history
  • Loading branch information
Ronan committed Apr 26, 2024
1 parent d44e3ca commit fc62eef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:

- name: Check container logs for errors
run: |-
docker-compose logs --tail=10 | grep -i -E "error|exception" | grep -v -i "hypercorn.error"
docker-compose logs --tail=20 | grep -i -E "error|exception" | grep -v -i "hypercorn.error|Invalid credentials"
if [ $? -eq 0 ]; then
echo "Found errors in logs"
exit 1
Expand Down

0 comments on commit fc62eef

Please sign in to comment.