diff --git a/.github/workflows/copado.yml b/.github/workflows/copado.yml index b31df9b..982ba88 100644 --- a/.github/workflows/copado.yml +++ b/.github/workflows/copado.yml @@ -114,15 +114,15 @@ jobs: runs-on: ubuntu-latest if: '!cancelled()' steps: - - name: Resume Copado Deployment - PASS - if: success() + - name: Resume Copado Deployment - FAILURE + if: failure() uses: fjogeleit/http-request-action@v1 with: - url: 'https://api.backend.copado.com/json/v1/webhook/resumeDeployment/a3P8d000000ZLzgEAG?api_key=22bb1a83a9d4931ad2d27fb5368e6868&deploymentId=a3R8d0000005RKOEA2&success=TRUE' + url: 'https://api.backend.copado.com/json/v1/webhook/resumeDeployment/a3P8d000000ZLzgEAG?api_key=6e9659801eb7a45a0376ad8684f0d2a4&deploymentId=a3R8d0000005RKOEA2&success=FALSE' method: 'POST' - - name: Resume Copado Deployment - FAILURE - if: failure() + - name: Resume Copado Deployment - PASS + if: success() uses: fjogeleit/http-request-action@v1 with: - url: 'https://api.backend.copado.com/json/v1/webhook/resumeDeployment/a3P8d000000ZLzgEAG?api_key=22bb1a83a9d4931ad2d27fb5368e6868&deploymentId=a3R8d0000005RKOEA2&success=FALSE' + url: 'https://api.backend.copado.com/json/v1/webhook/resumeDeployment/a3P8d000000ZLzgEAG?api_key=6e9659801eb7a45a0376ad8684f0d2a4&deploymentId=a3R8d0000005RKOEA2&success=TRUE' method: 'POST'