Skip to content

Commit

Permalink
chore: Use better deployment action (#95)
Browse files Browse the repository at this point in the history
Use better deployment action
  • Loading branch information
nahsi authored Sep 18, 2024
1 parent 52aef9a commit d7d867f
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ jobs:

permissions:
contents: read
contents: read
deployments: write
statuses: write
pull-requests: write
id-token: write

steps:
Expand All @@ -45,10 +49,10 @@ jobs:
kv/vercel/tokens/nahsi token | VERCEL_TOKEN ;
- name: Deploy to vercel
uses: amondnet/vercel-action@v25
uses: nexterias/actions-vercel@v1
with:
vercel-token: ${{ steps.secrets.outputs.VERCEL_TOKEN }}
vercel-args: '--prod'
vercel-org-id: ${{ vars.TEAM_ID }}
vercel-project-id: ${{ vars.PROJECT_ID }}
scope: ${{ env.TEAM_ID }}
token: ${{ steps.secrets.outputs.VERCEL_TOKEN }}
org-id: ${{ vars.TEAM_ID }}
project-id: ${{ vars.PROJECT_ID }}
production: true
prebuilt: false

0 comments on commit d7d867f

Please sign in to comment.