This commit is contained in:
@@ -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 }}
|
||||
Reference in New Issue
Block a user