We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ebcfc01 commit a89588cCopy full SHA for a89588c
1 file changed
.github/workflows/deploy-canary.yml
@@ -0,0 +1,30 @@
1
+on:
2
+ push:
3
+ branches: [main]
4
+
5
+permissions:
6
+ contents: read
7
8
+concurrency:
9
+ group: deploy-canary-${{ github.ref }}
10
+ cancel-in-progress: true
11
12
+jobs:
13
+ deploy-canary:
14
+ if: github.repository == 'npmx-dev/npmx.dev'
15
+ name: 🚀 Deploy to canary (main.npmx.dev)
16
+ runs-on: ubuntu-24.04-arm
17
+ steps:
18
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
19
20
+ - uses: voidzero-dev/setup-vp@8ecb39174989ce55af90f45cf55b02738599831d # v1
21
+ with:
22
+ node-version: lts/*
23
+ run-install: false
24
25
+ - run: vp install -g vercel
26
+ - run: vercel deploy --target=canary
27
+ env:
28
+ VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
29
+ VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
30
+ VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
0 commit comments