Skip to content

๐Ÿš€ Deploy : dev -> main ๋ณ‘ํ•ฉ #10

๐Ÿš€ Deploy : dev -> main ๋ณ‘ํ•ฉ

๐Ÿš€ Deploy : dev -> main ๋ณ‘ํ•ฉ #10

Workflow file for this run

# .github/workflows/vercel-prod.yml
name: Vercel Prod
on:
push:
branches: [main]
jobs:
prod:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
env:
VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }}
VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }}
VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }}
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "22"
cache: "npm"
- run: npm i -g vercel@latest
- name: Pull Project Settings (Prod)
run: vercel pull --yes --environment=production --token=$VERCEL_TOKEN
- name: Build (Prod)
run: vercel build --prod --token=$VERCEL_TOKEN
- name: Deploy (Prod)
run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN