Skip to content

Commit

Permalink
chore(ci): fix deploy ci failing when it should not
Browse files Browse the repository at this point in the history
  • Loading branch information
hugotiburtino committed Nov 27, 2024
1 parent ff2d6b2 commit 1b6acbe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,4 @@ jobs:
supervisorctl restart serlo-app
- name: Test deployment successful
run: sleep 5 && curl ${{ env.DOMAIN }} | grep NO_LTIK_OR_IDTOKEN_FOUND
run: for ((i=0; i<30; i++)); do curl --silent ${{ env.DOMAIN }} | grep -q "NO_LTIK_OR_IDTOKEN_FOUND" && exit 0; sleep 1; done; echo "Server not ready within 30 seconds." && exit 1

0 comments on commit 1b6acbe

Please sign in to comment.