This commit is contained in:
amirhouieh 2022-06-10 11:33:44 +02:00
parent 075a4b78fd
commit a5c1c59962
3 changed files with 26 additions and 11 deletions

View File

@ -0,0 +1,13 @@
name: Vercel webhook
on:
push:
branches: [master]
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- name: Calling webhook
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.VERCEL_WEBHOOK_PRODUCTION }}
method: 'POST'

View File

@ -0,0 +1,13 @@
name: Vercel webhook
on:
push:
branches: [staging]
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- name: Calling webhook
uses: fjogeleit/http-request-action@v1
with:
url: ${{ secrets.VERCEL_WEBHOOK_STAGING }}
method: 'POST'

View File

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