diff --git a/.github/workflows/deployment-production.yml b/.github/workflows/deployment-production.yml new file mode 100644 index 0000000..c140f69 --- /dev/null +++ b/.github/workflows/deployment-production.yml @@ -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' \ No newline at end of file diff --git a/.github/workflows/deployment-staging.yml b/.github/workflows/deployment-staging.yml new file mode 100644 index 0000000..c4b722f --- /dev/null +++ b/.github/workflows/deployment-staging.yml @@ -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' \ No newline at end of file