diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 43705914f..c76fb4653 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -10,6 +10,6 @@ jobs: steps: - name: Send HTTP request to webhook run: >- - curl -X POST https://deploy.altlab.dev/korp-frontend-dev -d '{ + curl -X POST https://deploy.altlab.dev/korp-frontend-dev --fail -d '{ "secret": "${{ secrets.DEPLOY_ALTLAB_DEV }}" }' -H 'Content-Type: application/json' diff --git a/.github/workflows/deploy-prod.yml b/.github/workflows/deploy-prod.yml index 62547917f..836bf516c 100644 --- a/.github/workflows/deploy-prod.yml +++ b/.github/workflows/deploy-prod.yml @@ -10,6 +10,6 @@ jobs: steps: - name: Send HTTP request to webhook run: >- - curl -X POST https://deploy.altlab.dev/korp-frontend-prod -d '{ + curl -X POST https://deploy.altlab.dev/korp-frontend-prod --fail -d '{ "secret": "${{ secrets.DEPLOY_ALTLAB_PROD }}" }' -H 'Content-Type: application/json'