Skip to content

post: Github 이메일 notification 라우팅하기 #77

post: Github 이메일 notification 라우팅하기

post: Github 이메일 notification 라우팅하기 #77

Workflow file for this run

name: Deploy github pages
on:
push:
branches:
- main
jobs:
update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: Set up Node.js
uses: actions/setup-node@master
with:
node-version: 14.15.0
- name: Cache node_modules
uses: actions/cache@v1
with:
path: node_modules
key: ${{runner.OS}}-build-${{hashFiles('**/yarn.lock')}}
restore-keys: |
${{ runner.OS }}-build-${{ runner.OS }}-
- name: Install dependencies
run: yarn install --prod --pure-lockfile
- name: Build
run: yarn run build
env:
NODE_ENV: production
- name: Deploy
uses: peaceiris/actions-gh-pages@v2.5.0
env:
PERSONAL_TOKEN: ${{secrets.SECRET_KEY}}
PUBLISH_BRANCH: gh-pages
PUBLISH_DIR: ./public
SCRIPT_MODE: true