Skip to content

Commit fc136da

Browse files
authored
Update main.yml
1 parent 50f5ed4 commit fc136da

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

.github/workflows/main.yml

+1-10
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,10 @@ jobs:
1515

1616
# Your build and deployment steps go here
1717

18-
- name: Find project ID
19-
id: project_id
20-
run: |
21-
project_id=$(curl -sSf -X GET "https://api.vercel.com/v8/projects" \
22-
-H "Authorization: Bearer 4EMYs0YWWJQrhQYIVDGzIFkR" \
23-
-H "Content-Type: application/json" \
24-
| jq -r '.[] | select(.name == "ut-bot-deploy") | .id')
25-
echo "::set-output name=project_id::$project_id"
26-
2718
- name: Find latest deployment
2819
id: latest_deployment
2920
run: |
30-
latest_deployment=$(curl -sSf -X GET "https://api.vercel.com/v12/now/deployments?projectId=${{ steps.project_id.outputs.project_id }}&limit=1" \
21+
latest_deployment=$(curl -sSf -X GET "https://api.vercel.com/v12/now/deployments?projectId=ut-bot-deploy&limit=1" \
3122
-H "Authorization: Bearer 4EMYs0YWWJQrhQYIVDGzIFkR" \
3223
-H "Content-Type: application/json" \
3324
| jq -r '.deployments[0].uid')

0 commit comments

Comments
 (0)