Skip to content
This repository has been archived by the owner on Dec 26, 2023. It is now read-only.

Merge pull request #27 from sanwebinfo/renovate/actions-setup-node-4.x #84

Merge pull request #27 from sanwebinfo/renovate/actions-setup-node-4.x

Merge pull request #27 from sanwebinfo/renovate/actions-setup-node-4.x #84

Workflow file for this run

name: vercel-deploy
env:
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
on:
push:
branches: [ main ]
jobs:
Deploy-Production:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v4.1.1
- name: Use Node.js ${{ matrix.node-version }} and install vercel CLI
uses: actions/setup-node@v4.0.1
with:
node-version: ${{ matrix.node-version }}
- run: npm install --global vercel@latest
- name: Deploy Project Vercel
run: vercel deploy --prod --token=${{ secrets.VERCEL_TOKEN }}