.github>workflows
name: Github Pages Deploy
on:
push:
branches:
- 'master'
jobs:
build:
runs-on: ubuntu-latest
# strategy:
# matrix:
# node-version: [14.x]
steps:
- name: Checkout
uses: actions/checkout@v1
- name: Install and build
run: npm install && npm run build
env:
CI: "" # 경고를 에러로 보지 않게 함
- name: Deploy
uses: JamesIves/github-pages-deploy-action@4.1.1
with:
branch: gh-pages # The branch the action should deploy to.
folder: build # The folder the action should deploy.