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 }}