From 964331447582f1935ce0864e0c9976f297f2a614 Mon Sep 17 00:00:00 2001 From: amir houieh Date: Mon, 20 Jun 2022 11:49:09 +0200 Subject: [PATCH] Add files via upload --- .github/workflows/deployment-production.yml | 13 +++++++++++++ .github/workflows/deployment-staging.yml | 13 +++++++++++++ 2 files changed, 26 insertions(+) create mode 100644 .github/workflows/deployment-production.yml create mode 100644 .github/workflows/deployment-staging.yml 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