Skip to content

Commit

Permalink
Update vercel-build-update.yml
Browse files Browse the repository at this point in the history
Add vercel project id
  • Loading branch information
svey-xyz authored Oct 13, 2024
1 parent d94bb8a commit 676a1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/vercel-build-update.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
id: vercel
run: |
# Fetch the latest deployment information from Vercel API
response=$(curl -s -H "Authorization: Bearer ${{ secrets.VERCEL_TOKEN }}" https://api.vercel.com/v6/deployments?projectId=<your-project-id>)
response=$(curl -s -H "Authorization: Bearer ${{ secrets.VERCEL_TOKEN }}" https://api.vercel.com/v6/deployments?projectId=prj_T1f4v51xSVNT4lz9Xjm9PBhsgiRg)
url=$(echo "$response" | jq -r '.deployments[0].url')
state=$(echo "$response" | jq -r '.deployments[0].state')
createdAt=$(echo "$response" | jq -r '.deployments[0].createdAt')
Expand Down

0 comments on commit 676a1b5

Please sign in to comment.