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 }}"