Github
Vercel Preview URLs (GitHub CICD)
Enabling Tests to Run Via Vercel Preview URLs
On Vercel:
1
Go to Project Settings
2
Go to Deployment Protection
3
Disable Vercel Authentication
We are actively working with Vercel support team to enable us to use protection bypass instead for automation, where you don’t need to disable vercel auth.
On Github:
1
Remove the existing YAML files related to Spur
2
Create vercel-set-preview-url.yaml
Follow the naming here
- replace
REPLACE_WITH_VERCEL_TEAM_ID
with your Vercel Team ID - replace
REPLACE_WITH_VERCEL_API_TOKEN
with your Vercel API Token
3
Create spur-git-integration.yaml
- replace
REPLACE_WITH_YOUR_SPUR_GITHUB_KEY
withSPUR\_GITHUB\_KEY
found on Spur’s Integrations page