🔧 fix : article-page 에서 SelectBox의 value가 새로고침하면 초기화되는 버그 해결 #146
Workflow file for this run
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
| # .github/workflows/vercel-preview.yml | |
| name: Vercel Preview | |
| on: | |
| push: | |
| branches: [dev] | |
| pull_request: | |
| branches: [dev, main] | |
| jobs: | |
| preview: | |
| runs-on: ubuntu-latest | |
| env: | |
| VERCEL_TOKEN: ${{ secrets.VERCEL_TOKEN }} | |
| VERCEL_ORG_ID: ${{ secrets.VERCEL_ORG_ID }} | |
| VERCEL_PROJECT_ID: ${{ secrets.VERCEL_PROJECT_ID }} | |
| concurrency: | |
| group: vercel-preview-${{ github.ref }} | |
| cancel-in-progress: true | |
| steps: | |
| - uses: actions/checkout@v4 # Github Actions 서버로 코드 다운로드 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: "22" | |
| cache: "npm" | |
| - run: npm i -g vercel@latest | |
| - name: Pull Project Settings (Preview) | |
| run: vercel pull --yes --environment=preview --token=$VERCEL_TOKEN | |
| - name: Build (Preview) | |
| run: vercel build --token=$VERCEL_TOKEN | |
| - name: Deploy (Preview) | |
| run: vercel deploy --prebuilt --token=$VERCEL_TOKEN |