Skip to content

Commit a6ba46a

Browse files
authored
Merge branch 'main' into vue-data-ui-3.18
2 parents 975c608 + 902829e commit a6ba46a

1 file changed

Lines changed: 32 additions & 0 deletions

File tree

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
name: Deploy canary
2+
3+
on:
4+
push:
5+
branches: [main]
6+
7+
permissions:
8+
contents: read
9+
10+
concurrency:
11+
group: deploy-canary-${{ github.ref }}
12+
cancel-in-progress: true
13+
14+
jobs:
15+
deploy-canary:
16+
if: github.repository == 'npmx-dev/npmx.dev'
17+
name: 🚀 Deploy to canary (main.npmx.dev)
18+
runs-on: ubuntu-24.04-arm
19+
steps:
20+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
21+
22+
- uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
23+
with:
24+
node-version: lts/*
25+
run-install: false
26+
27+
- run: vp install -g vercel
28+
- run: vercel deploy --target=canary
29+
env:
30+
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
31+
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
32+
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}

0 commit comments

Comments
 (0)