where the deploy token at
This commit is contained in:
9
.github/workflows/deploy-vercel.yml
vendored
9
.github/workflows/deploy-vercel.yml
vendored
@@ -3,7 +3,7 @@ name: deploy
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- main
|
||||
- main
|
||||
workflow_call: {}
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
@@ -14,12 +14,13 @@ on:
|
||||
|
||||
run-name: deploy-${{ github.ref_name }}-${{ github.run_number }}
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: read-all
|
||||
|
||||
jobs:
|
||||
deploy:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Trigger Vercel Deployment
|
||||
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/
|
||||
env:
|
||||
VERCEL_DEPLOY_TOKEN: ${{ secrets.VERCEL_DEPLOY_TOKEN }}
|
||||
run: curl -X POST https://api.vercel.com/v1/integrations/deploy/${{ env.VERCEL_DEPLOY_TOKEN }}
|
||||
Reference in New Issue
Block a user