updated distance and color #8
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 # main 브랜치에 푸시될 때마다 실행됩니다. | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: write | |
steps: | |
- name: Checkout the repository | |
uses: actions/checkout@v3 | |
- name: Set up Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '18' # Node.js 버전 설정 | |
- name: Install yarn | |
run: | | |
npm install --global yarn | |
- name: Install dependencies | |
run: | | |
yarn install | |
working-directory: ./document | |
- name: Build the project | |
run: | | |
yarn run build | |
working-directory: ./document | |
- name: Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v3 | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
publish_dir: ./document/dist | |
publish_branch: doc | |