diff --git a/.github/workflows/push-deploy.yml b/.github/workflows/push-deploy.yml index ad05b57..67fe470 100644 --- a/.github/workflows/push-deploy.yml +++ b/.github/workflows/push-deploy.yml @@ -6,4 +6,4 @@ jobs: steps: - name: Push it run: | - curl -XPOST -u "${{ secrets.REPO_DOCS_DEPLOY_USERNAME }}:${{ secrets.REPO_DOCS_DEPLOY_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/${{ secrets.REPO_DOCS_DEPLOY }}/dispatches --data '{"event_type": "build_application"}' + curl --fail -XPOST -u "${{ secrets.REPO_DOCS_DEPLOY_USERNAME }}:${{ secrets.REPO_DOCS_DEPLOY_TOKEN }}" -H "Accept: application/vnd.github.everest-preview+json" -H "Content-Type: application/json" https://api.github.com/repos/${{ secrets.REPO_DOCS_DEPLOY }}/dispatches --data '{"event_type": "build_application"}'