feat: Add toolbox-dev release 1.1.0 #126
This file contains 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 | |
# 트리거, 경로 등을 추가로 정의하려면 gh 액션 문서를 참고하세요. | |
# https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#on | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
permissions: | |
pages: write | |
contents: write | |
id-token: write | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: yarn | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Build website | |
run: yarn build | |
# 깃허브 페이지에 배포하기 위한 일반적인 액션 | |
# Docs: https://github.com/peaceiris/actions-gh-pages#%EF%B8%8F-docusaurus | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
# `gh-pages` 브랜치에 게시할 결과물을 빌드합니다. | |
publish_dir: ./build | |
publish_branch: gh-pages | |
user_name: milkcoke | |
user_email: [email protected] | |
# enable_jekyll: true |