From bda5d2752b8dca33051b5d46381b0f67f8aef0f1 Mon Sep 17 00:00:00 2001 From: Ardy Date: Thu, 21 Sep 2023 15:40:26 -0400 Subject: [PATCH] chore: print preview link --- .github/workflows/deploy.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 09a9fd89..f409bb48 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -34,6 +34,7 @@ jobs: VITE_RPC_URL: ${{ secrets.VITE_RPC_URL }} - uses: amondnet/vercel-action@v25 + id: vercel-deployment with: vercel-token: ${{ secrets.VERCEL_TOKEN }} # Required vercel-org-id: ${{ secrets.ORG_ID}} #Required @@ -41,3 +42,8 @@ jobs: vercel-args: ${{ github.ref_name == 'main' && '--prod' || '' }} vercel-project-id: ${{ secrets.PROJECT_ID}} #Required working-directory: ./dist + - name: Comment PR + uses: thollander/actions-comment-pull-request@v2 + with: + message: | + Preview: ${{ steps.vercel-deployment.outputs.preview-url }}