docs: 전체 페이지에 걸려있는 이벤트 리스너 확인하기 #33
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: build gatsby | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build_gatsby: | |
name: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- name: Setup | Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: "16" | |
- name: Install dependencies | |
run: npm i --frozen-lockfile | |
- name: gatsby build | |
env: | |
GH_API_KEY: ${{ secrets.GITHUB }} | |
run: npm run build | |
- name: GitHub Pages action | |
uses: peaceiris/[email protected] | |
with: | |
personal_token: ${{ secrets.TOKEN }} | |
publish_dir: ./public |