Skip to content

Commit

Permalink
Githut actions : testing with old deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
shashankaggarwal committed May 25, 2024
1 parent fd4f059 commit 4039be9
Showing 1 changed file with 8 additions and 19 deletions.
27 changes: 8 additions & 19 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
- name: Deploy to Vercel
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
run: vercel --prod

0 comments on commit 4039be9

Please sign in to comment.