justincase-jp/Get and Alias Vercel Preview URL

Get preview URL of a Vercel deployment and alias it automatically

View on GitHub

Trust Signals

Scorecard Score
not yet scored
Maintenance Recency
Stale
License
None
namedescriptionrequireddefault
vercel_access_tokenhttps://vercel.com/docs/rest-api#introduction/api-basics/authentication/creating-an-access-tokenyes
vercel_project_idGet your Project ID from project settings in Vercel management consoleyes
vercel_team_idhttps://vercel.com/docs/rest-api#introduction/api-basics/authentication/accessing-resources-owned-by-a-teamno
alias_templatetemplate of alias preview url. eg: {random}.e2e-test.mysite.comno
tokenhttps://docs.github.com/en/actions/security-guides/automatic-token-authentication#about-the-github_token-secretno${{ github.token }}
retry_timesMax retry times for waiting deployment(default: 18)no18
intervalTime span (ms) waiting between requests to the Vercel API(default: 10000ms)no10000
fail_when_cancelledAutomatically fail if deployment of Vercel is cancelled(default: true)notrue
commit_shasha of commit which triggered Vercel Preview deployment. It is useful when workflow is triggered by issue_comment.no
namedescription
preview_url_aliasAlias of Vercel Preview URL
preview_url_originOriginal Vercel Preview URL
statusStatus of the Vercel deployment