Skip to content

[docs] 콘텐츠 업데이트 #216

[docs] 콘텐츠 업데이트

[docs] 콘텐츠 업데이트 #216

Workflow file for this run

name: Gh-pages deploy
on:
push:
branches: [main]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "18.x"
- uses: pnpm/action-setup@v2
with:
version: 8
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm clean && pnpm run build
env:
NODE_ENV: production
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v2
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
PUBLISH_BRANCH: deploy
PUBLISH_DIR: ./public