diff --git a/.github/workflows/release_production.yml b/.github/workflows/release_production.yml index a56ff17dd..651f8a43b 100644 --- a/.github/workflows/release_production.yml +++ b/.github/workflows/release_production.yml @@ -107,3 +107,11 @@ jobs: with: RELEASE_TYPE: ${{ env.RELEASE_TYPE }} MESSAGE: "'${{ env.RELEASE_TYPE }}' Release succeeded for api.deriv.com with version *'${{ needs.build_and_publish.outputs.RELEASE_VERSION }}'* has Failed *" + - name: Upload to vercel + uses: 'deriv-com/shared-actions/.github/actions/vercel_DR_publish@master' + with: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + VERCEL_TOKEN: ${{ secrets.VERCEL_API_TOKEN }} + ENVIRONMENT: Production + VERCEL_SCOPE: deriv diff --git a/.github/workflows/release_staging.yml b/.github/workflows/release_staging.yml index f5e782c1c..3d9701ff1 100644 --- a/.github/workflows/release_staging.yml +++ b/.github/workflows/release_staging.yml @@ -50,3 +50,11 @@ jobs: SERVICEACCOUNT_TOKEN: ${{ secrets.SERVICEACCOUNT_TOKEN }} KUBE_SERVER: ${{ secrets.KUBE_SERVER }} DOCKERHUB_ORGANISATION: ${{ secrets.DOCKERHUB_ORGANISATION }} + - name: Upload to vercel + uses: 'deriv-com/shared-actions/.github/actions/vercel_DR_publish@master' + with: + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} + VERCEL_TOKEN: ${{ secrets.VERCEL_API_TOKEN }} + ENVIRONMENT: Preview + VERCEL_SCOPE: deriv