Skip to content

Merge branch 'main' of https://github.com/SundarbansWebOps/Frontend #9

Merge branch 'main' of https://github.com/SundarbansWebOps/Frontend

Merge branch 'main' of https://github.com/SundarbansWebOps/Frontend #9

Workflow file for this run

name: CI/CD for Vue.js
on:
push:
branches:
- main # Adjust this based on your branch name
jobs:
build:
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: 14
- name: Install dependencies
run: npm install
- name: Build
run: npm run build
deploy:
runs-on: ubuntu-latest
needs: build
steps:
- name: Checkout code
uses: actions/checkout@v2
- name: Deploy to Vercel
uses: amondnet/vercel-action@v25
with:
vercel-token: ${{ secrets.VERCEL_TOKEN }}
CI: true
github-comment: true
github-deployment: false
args: --confirm
run: |
echo "y" | vercel