From 34b000a10474ad00bc254655b587d0a1d7174e8c Mon Sep 17 00:00:00 2001 From: CosLynx AI Date: Sun, 13 Oct 2024 00:31:11 +0530 Subject: [PATCH] generated file: `.github/workflows/deploy.yml` --- .github/workflows/deploy.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/deploy.yml diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml new file mode 100644 index 0000000..08da721 --- /dev/null +++ b/.github/workflows/deploy.yml @@ -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 \ No newline at end of file