Skip to content

Commit

Permalink
Fix failure condition not working?
Browse files Browse the repository at this point in the history
  • Loading branch information
fbacall committed Dec 4, 2024
1 parent 3562569 commit 2b17862
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,14 +30,12 @@ jobs:
continue-on-error: true
- name: Wait and check containers
run: sleep 300 && docker ps -a
continue-on-error: true
- name: Check app status
run: |
curl -o _curl_output.txt -s http://localhost:3000/statistics/application_status
\[ "`cat _curl_output.txt`" == "FAIRDOM-SEEK is running | search is enabled | 7 delayed jobs running" \]
continue-on-error: true
- name: Check docker logs & curl output
if: ${{ failure() }}
if: failure()
run: |
docker compose --file docker-compose.yml --file docker-compose.build.yml logs
cat _curl_output.txt

0 comments on commit 2b17862

Please sign in to comment.