Skip to content

Commit

Permalink
generated file: .github/workflows/deploy.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
coslynx committed Oct 12, 2024
1 parent c0013cf commit 34b000a
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Deploy to Vercel

on:
push:
branches:
- main

jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '18'
- name: Install dependencies
run: npm install
- name: Build app
run: npm run build
- name: Deploy to Vercel
uses: vercel/vercel-action@v2
with:
token: ${{ secrets.VERCEL_TOKEN }}
project: my-fitness-tracker
# branch: "main"
# cache: true
# cache: false

0 comments on commit 34b000a

Please sign in to comment.