diff --git a/.github/workflows/develop-push-deploy.yml b/.github/workflows/develop-push-deploy.yml index 9140f392..db5399d3 100644 --- a/.github/workflows/develop-push-deploy.yml +++ b/.github/workflows/develop-push-deploy.yml @@ -53,7 +53,10 @@ jobs: DB_PORT: ${{ job.services.mysql.ports[3306] }} run: php artisan test - name: Webhook - uses: joelwmale/webhook-action@master env: + MY_KEY: ${{ secrets.DOCKER_USERNAME }} WEBHOOK_URL: ${{ secrets.DEPLOY_URL_STAGING }} data: "Deploy VINE staging please!" + if: "${{ env.MY_KEY != '' }}" + uses: joelwmale/webhook-action@master +