fix: 관리자 Q&A 페이지에서 session.code로 질문 조회 #50
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: Deploy to GitHub Pages | |
| on: | |
| push: | |
| branches: [main] | |
| workflow_dispatch: | |
| jobs: | |
| deploy: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20' | |
| cache: 'npm' | |
| cache-dependency-path: 'moducon-frontend/package-lock.json' | |
| - name: Install dependencies | |
| working-directory: moducon-frontend | |
| run: npm ci | |
| - name: Build | |
| working-directory: moducon-frontend | |
| run: npm run build | |
| env: | |
| NEXT_PUBLIC_API_URL: ${{ secrets.API_URL }} | |
| NEXT_PUBLIC_WS_URL: ${{ secrets.WS_URL }} | |
| - name: Deploy to GitHub Pages | |
| uses: peaceiris/actions-gh-pages@v4 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./moducon-frontend/out | |
| cname: moducon.vibemakers.kr |