Skip to content

Merge pull request #44 from No-Country-simulation/front-lazaro #28

Merge pull request #44 from No-Country-simulation/front-lazaro

Merge pull request #44 from No-Country-simulation/front-lazaro #28

Workflow file for this run

name: Vercel Production Deployment
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches:
- develop-front
paths:
- 'client/**'
jobs:
Deploy-Production:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '18'
- name: Install Vercel CLI
run: npm install --global vercel@latest
- name: Build Project
run: cd client && npm install
- name: Deploy to Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: cd client && npm run deploy