mirror of
https://github.com/vee1e/krply.git
synced 2026-09-01 17:57:03 +00:00
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:
parent
9418790598
commit
2c2fe76984
2 changed files with 14 additions and 0 deletions
10
.github/workflows/vercel.yml
vendored
10
.github/workflows/vercel.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue