Skip to content

Commit

Permalink
Make CI/CD fail if the cloud function returns an error (#45)
Browse files Browse the repository at this point in the history
  • Loading branch information
therefromhere authored Apr 7, 2024
1 parent 2130efe commit c11901f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
secret_environment_variables: ASTRAL_LOCATION=projects/${{ steps.auth.outputs.project_id}}/secrets/ASTRAL_LOCATION/versions/latest,SUREPY_AUTH_TOKEN=projects/${{ steps.auth.outputs.project_id}}/secrets/SUREPY_AUTH_TOKEN/versions/latest
- name: Trigger deployed function
run:
curl ${{ steps.deploy.outputs.url }}
curl ${{ steps.deploy.outputs.url }} --fail-with-body

0 comments on commit c11901f

Please sign in to comment.