Skip to content

update: 14. 리팩터링: 기존의 코드를 성장시키는 기술.md #22

update: 14. 리팩터링: 기존의 코드를 성장시키는 기술.md

update: 14. 리팩터링: 기존의 코드를 성장시키는 기술.md #22

Workflow file for this run

name: Deploy GitBook to GitHub Pages
on:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '16'
- name: Install GitBook CLI
run: npm install gitbook-cli -g
- name: Update graceful-fs
run: |
cd /opt/hostedtoolcache/node/16.20.2/x64/lib/node_modules/gitbook-cli/node_modules/npm/node_modules/
npm install [email protected] --save
- name: Install Plugins and Build Book
run: |
gitbook install
gitbook build
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACCESS_TOKEN }}
publish_dir: ./_book