Update deployment.yml

This commit is contained in:
amir houieh 2022-05-20 12:38:44 +02:00 committed by GitHub
parent 6f6b6069dc
commit c18b72fb5a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 8 additions and 4 deletions

View File

@ -1,7 +1,11 @@
name: Vercel webhook
on: push
jobs:
call-webhook:
uses: joelwmale/webhook-action@2.1.0
with:
url: ${{ secrets.VERCEL_WEBHOOK }}
deployment:
runs-on: ubuntu-latest
steps:
- name: Calling webhook
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.VERCEL_WEBHOOK }}
method: 'POST'