File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ name : Deploy to Vercel
2+
3+ on :
4+ push :
5+ branches :
6+ - main
7+
8+ jobs :
9+ deploy :
10+ runs-on : ubuntu-latest
11+ steps :
12+ - uses : actions/checkout@v4
13+
14+ - name : Install Vercel CLI
15+ run : npm install -g vercel
16+
17+ - name : Pull Vercel Environment
18+ run : vercel pull --yes --environment=production --token=${{ secrets.VERCEL_TOKEN }}
19+ env :
20+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
21+ VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
22+
23+ - name : Build
24+ run : vercel build --prod --token=${{ secrets.VERCEL_TOKEN }}
25+ env :
26+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
27+ VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
28+
29+ - name : Deploy to Production
30+ run : vercel deploy --prebuilt --prod --token=${{ secrets.VERCEL_TOKEN }}
31+ env :
32+ VERCEL_ORG_ID : ${{ secrets.VERCEL_ORG_ID }}
33+ VERCEL_PROJECT_ID : ${{ secrets.VERCEL_PROJECT_ID }}
Original file line number Diff line number Diff line change 1+ .vercel
2+ .DS_Store
3+ node_modules
You can’t perform that action at this time.
0 commit comments