ci: cancel superseded runs and deploy vercel only on web changes

- concurrency groups with cancel-in-progress for ci and vercel
- vercel workflow now triggers only when web/ or workflow files change
- renamed vercel project to krply-web for a stable production url
This commit is contained in:
lakshit verma 2026-08-06 05:39:16 +05:30
parent 9418790598
commit 2c2fe76984
No known key found for this signature in database
GPG key ID: EB498AFC60A7A01A
2 changed files with 14 additions and 0 deletions

View file

@ -3,7 +3,17 @@ name: vercel
on:
push:
branches: [main]
paths:
- web/**
- .github/workflows/**
pull_request:
paths:
- web/**
- .github/workflows/**
concurrency:
group: vercel-${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy: