Skip to content

Commit 0f68cad

Browse files
authored
ci: add missing env vars, configure concurrency
Added concurrency settings for canary deployment.
1 parent aa72bd9 commit 0f68cad

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

.github/workflows/deploy-canary.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ on:
55
permissions:
66
contents: read
77

8+
concurrency:
9+
group: deploy-canary-${{ github.ref }}
10+
cancel-in-progress: true
11+
812
jobs:
913
deploy-canary:
1014
if: github.repository == 'npmx-dev/npmx.dev'
@@ -14,6 +18,8 @@ jobs:
1418
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1519
with:
1620
fetch-depth: 0
17-
- run: npx vercel deploy --target=canary --token="$VERCEL_TOKEN"
21+
- run: npx vercel deploy --target=canary
1822
env:
1923
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
24+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
25+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)