From 407ce41e448cb4e8a094829c1b320c11344301ab Mon Sep 17 00:00:00 2001 From: Ra Date: Mon, 25 Aug 2025 15:34:38 -0700 Subject: [PATCH] where the deploy token at --- .github/workflows/deploy-vercel.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/deploy-vercel.yml b/.github/workflows/deploy-vercel.yml index b355225..2e0278f 100644 --- a/.github/workflows/deploy-vercel.yml +++ b/.github/workflows/deploy-vercel.yml @@ -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/ \ No newline at end of file + env: + VERCEL_DEPLOY_TOKEN: ${{ secrets.VERCEL_DEPLOY_TOKEN }} + run: curl -X POST https://api.vercel.com/v1/integrations/deploy/${{ env.VERCEL_DEPLOY_TOKEN }} \ No newline at end of file