-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathaction.yml
23 lines (23 loc) · 864 Bytes
/
action.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
name: "Get Vercel deployment"
description: "Gets the URL of the preview deployment on Vercel for the current commit"
inputs:
project-id:
description: "The identifier for your Vercel project"
required: true
team-id:
description: "The identifier for your Vercel team (leave blank for personal projects)"
required: false
search-retries:
description: "The number of times the action should try to find a deployment related to the current commit (5 seconds between searches)"
required: false
default: 3
ready-retries:
description: "The number of times the action should check if the latest deployment related to the current commit is ready (30 seconds between checks)"
required: false
default: 10
outputs:
url:
description: "The URL of the vercel preview deployment"
runs:
using: "node16"
main: "dist/index.js"