Skip to content

Commit

Permalink
Update build-push-next.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
danchitnis authored Nov 20, 2024
1 parent 92d669f commit c8d1b4c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions .github/workflows/build-push-next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@ jobs:
- name: Update Dependencies
run: npx --yes npm-check-updates -u

- name: Install Dependencies
run: npm install
#- name: Install Dependencies
#run: npm install

- name: Build Project with Vite
run: npm run build
#- name: Build Project with Vite
#run: npm run build

#- name: Deploy to Vercel
#run: npx vercel --token=${{ secrets.VERCEL_TOKEN }}
Expand All @@ -68,7 +68,7 @@ jobs:

# Check if 'bot' branch exists and delete it if it does
- name: Delete 'bot' branch if it exists
run: gh api "repos/:owner/:repo/branches" --jq '.[].name' | grep -q "^bot$" && gh branch delete bot --force
run: git branch -a | grep -q bot && git branch -D bot || echo "Branch 'bot' not found"

# Create new 'bot' branch from 'next'
- name: Create new 'bot' branch
Expand Down

0 comments on commit c8d1b4c

Please sign in to comment.