File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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 }}
You can’t perform that action at this time.
0 commit comments