Skip to content

Update vercel-deploy.yml #7

Update vercel-deploy.yml

Update vercel-deploy.yml #7

Workflow file for this run

name: Vercel Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- main
workflow_dispatch:
jobs:
Deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install Vercel CLI
working-directory: src/app/web
run: npm install --global vercel@latest
- name: Vercel Pull
run: vercel pull --yes --token=${{ secrets.VERCEL_DEPLOY_TOKEN }}
- name: Build Project Artifacts
run: vercel build --token=${{ secrets.VERCEL_DEPLOY_TOKEN }}
- name: Deploy Project Artifacts to Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_DEPLOY_TOKEN }}