Update deployment-production.yml

This commit is contained in:
amir houieh 2022-06-22 11:55:12 +02:00 committed by GitHub
parent 2336f86726
commit f78892cb9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 0 deletions

View File

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