diff --git a/.github/workflows/vercel.yml b/.github/workflows/vercel.yml new file mode 100644 index 0000000..62aec2b --- /dev/null +++ b/.github/workflows/vercel.yml @@ -0,0 +1,25 @@ +name: Deploy to Vercel + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + deploy: + runs-on: ubuntu-latest + steps: + - name: Checkout Repository + uses: actions/checkout@v4 + + - name: Install Dependencies + run: npm install + + - name: Build Project + run: npm run build + + - name: Deploy to Vercel + run: npx vercel --prod --yes --token=${{ secrets.VERCEL_TOKEN }}