Skip to content

Commit

Permalink
chore: get deployment url by vercel command
Browse files Browse the repository at this point in the history
  • Loading branch information
NWYLZW committed Sep 20, 2023
1 parent 3ee109a commit 551a2a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/preview.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,8 @@ jobs:
run: |
mv dist app
ls -all
vercel --token=${{ secrets.VERCEL_TOKEN }}
PREVIEW_URL=https://baidu.com
vercel --token=${{ secrets.VERCEL_TOKEN }} > deployment-url.txt
PREVIEW_URL=$(cat deployment-url.txt)
- name: Comment is successful
uses: peter-evans/create-or-update-comment@v3
Expand Down

0 comments on commit 551a2a7

Please sign in to comment.