From f78892cb9e9a48baa33c1fba04b43d91e2d016a1 Mon Sep 17 00:00:00 2001 From: amir houieh Date: Wed, 22 Jun 2022 11:55:12 +0200 Subject: [PATCH] Update deployment-production.yml --- .github/workflows/deployment-production.yml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/.github/workflows/deployment-production.yml b/.github/workflows/deployment-production.yml index d08a0a1..1a1ddf8 100644 --- a/.github/workflows/deployment-production.yml +++ b/.github/workflows/deployment-production.yml @@ -11,3 +11,14 @@ jobs: with: url: ${{ secrets.VERCEL_WEBHOOK_PRODUCTION }} method: 'POST' + - run: sleep 60 + - name: vercel-preview-url + uses: zentered/vercel-preview-url@v1.0.0 + id: vercel_preview_url + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + with: + vercel_team_id: ${{ secrets.VERCEL_TEAM_ID }} + vercel_project_id: ${{ secrets.VERCEL_PROJECT_ID }} + - name: Get URL + run: echo "https://${{ steps.vercel_preview_url.outputs.preview_url }}"