Skip to content

feat: 관리자 대시보드에 Q&A 관리 버튼 추가 #48

feat: 관리자 대시보드에 Q&A 관리 버튼 추가

feat: 관리자 대시보드에 Q&A 관리 버튼 추가 #48

Workflow file for this run

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