From 02f23b391d78c791bc561dcf352aef7183175d92 Mon Sep 17 00:00:00 2001 From: Nicola Belluti Date: Fri, 8 May 2026 18:06:11 +0200 Subject: [PATCH] Added CI/CD pipeline for deployment --- .gitea/workflows/deploy.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .gitea/workflows/deploy.yml diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml new file mode 100644 index 0000000..8d83b02 --- /dev/null +++ b/.gitea/workflows/deploy.yml @@ -0,0 +1,26 @@ +name: Deploy + +on: + push: + branches: + - main + +jobs: + deploy: + container: docker.io/oven/bun:1-alpine + steps: + - name: Installa git + run: apk add --no-cache git + + - name: Checkout del codice + uses: actions/checkout@v3 + + - name: Installa dipendenze + run: bun install --frozen-lockfile + + - name: Deploy su Vercel + run: bunx vercel --prod --yes + env: + VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} + VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} + VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}