Added CI/CD pipeline for deployment
Deploy / deploy (push) Successful in 2m30s

This commit is contained in:
2026-05-08 18:06:11 +02:00
parent 5ac470ba46
commit 02f23b391d
+26
View File
@@ -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 }}