Skip to content

fix: cicd

fix: cicd #10

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout 코드
uses: actions/checkout@v2
with:
path: 'demo'
- name: Node.js 설치
uses: actions/setup-node@v2
with:
node-version: '18.18.2'
- name: 의존성 설치
run: npm install
- name: 빌드
run: npm run build
- name: gh-pages 브랜치로 배포
uses: peaceiris/actions-gh-pages@v3
with:
publish_dir: ./build
publish_branch: gh-pages