From 4039be9b990477984d59aff136b22b4452c94766 Mon Sep 17 00:00:00 2001 From: Shashank Date: Sun, 26 May 2024 04:24:04 +0530 Subject: [PATCH] Githut actions : testing with old deploy.yml --- .github/workflows/deploy.yml | 27 ++++++++------------------- 1 file changed, 8 insertions(+), 19 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 1b47c84..14ec9c4 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -63,24 +63,13 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout the code - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v2 - with: - node-version: 'lts/*' # Use the latest LTS version of Node.js - - - name: Install dependencies - run: npm install - working-directory: ./recipe.masalamonk.com # Set the correct directory + - name: Checkout code + uses: actions/checkout@v2 - - name: Build the project - run: npm run build - working-directory: ./recipe.masalamonk.com # Set the correct directory + - name: Install Vercel CLI + run: npm install -g vercel - - name: Deploy to Vercel - env: - VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} # New Token Added - run: npx vercel --prod - working-directory: ./recipe.masalamonk.com # Set the correct directory if necessary \ No newline at end of file + - name: Deploy to Vercel + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + run: vercel --prod