Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions .github/workflows/deploy-canary.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on:
push:
branches: [main]

jobs:
deploy-canary:
if: github.repository == 'npmx-dev/npmx.dev'
name: 🚀 Deploy to canary (main.npmx.dev)
runs-on: ubuntu-24.04-arm
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
fetch-depth: 0
Comment thread
serhalp marked this conversation as resolved.
Outdated
- run: npx vercel deploy --target=canary --token="$VERCEL_TOKEN"
Comment thread
serhalp marked this conversation as resolved.
Outdated
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}

Check warning

Code scanning / CodeQL

Workflow does not contain permissions Medium

Actions job or workflow does not limit the permissions of the GITHUB_TOKEN. Consider setting an explicit permissions block, using the following as a minimal starting point: {contents: read}
Comment thread
github-advanced-security[bot] marked this conversation as resolved.
Fixed
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Outdated
Loading