Skip to content

Merge pull request #6 from Git-abby/tailgard #5

Merge pull request #6 from Git-abby/tailgard

Merge pull request #6 from Git-abby/tailgard #5

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
run: npm install
# Build the project
- name: Build the project
run: npm run build
# Deploy to Vercel
- name: Deploy to Vercel
run: npx vercel --prod --token=$VERCEL_DEPLOYMENT_TOKEN