Skip to content

fix: workflow file token value #10

fix: workflow file token value

fix: workflow file token value #10

Workflow file for this run

name: Deploy to Vercel
on:
push:
branches:
- main # Adjust the branch as needed
jobs:
deploy:
runs-on: ubuntu-latest
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v3
# Set up Node.js environment
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 20
# Install dependencies
- name: Install dependencies
working-directory: ./frontend
run: npm install
# Build the project
- name: Build the project
working-directory: ./frontend
run: npm run build
# Deploy to Vercel
- name: Deploy to Vercel
run: npx vercel --prod --token=${{VERCEL_DEPLOYMENT_TOKEN}}

Check failure on line 35 in .github/workflows/vercel-deploy.yml

View workflow run for this annotation

GitHub Actions / Deploy to Vercel

Invalid workflow file

The workflow is not valid. .github/workflows/vercel-deploy.yml (Line: 35, Col: 14): Unrecognized named-value: 'VERCEL_DEPLOYMENT_TOKEN'. Located at position 1 within expression: VERCEL_DEPLOYMENT_TOKEN