File tree 1 file changed +1
-10
lines changed
1 file changed +1
-10
lines changed Original file line number Diff line number Diff line change @@ -15,19 +15,10 @@ jobs:
15
15
16
16
# Your build and deployment steps go here
17
17
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
-
27
18
- name : Find latest deployment
28
19
id : latest_deployment
29
20
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" \
31
22
-H "Authorization: Bearer 4EMYs0YWWJQrhQYIVDGzIFkR" \
32
23
-H "Content-Type: application/json" \
33
24
| jq -r '.deployments[0].uid')
You can’t perform that action at this time.
0 commit comments