refactor: 로그 페이지 카드 api 연동 및 페이지네이션 적용 (#83) #55
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Frontend Production CI/CD | |
| on: | |
| push: | |
| branches: ['develop'] | |
| jobs: | |
| deploy-prod: | |
| name: Build & Deploy Production | |
| runs-on: ubuntu-latest | |
| environment: Preview | |
| env: | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| - name: Install dependencies | |
| run: npm install | |
| - name: Run vite build only (no type-check, no lint) | |
| run: npm run build-only | |
| - name: Install Vercel CLI | |
| run: npm install -g vercel@latest | |
| - name: Pull Vercel Environment (production) | |
| run: vercel pull --yes --environment=production --token=$VERCEL_TOKEN | |
| - name: Vercel build (production) | |
| run: vercel build --prod --token=$VERCEL_TOKEN | |
| - name: Deploy Production to Vercel | |
| run: vercel deploy --prebuilt --prod --token=$VERCEL_TOKEN |