Skip to content

chore(deps-dev): bump json5 from 1.0.1 to 1.0.2 #17

chore(deps-dev): bump json5 from 1.0.1 to 1.0.2

chore(deps-dev): bump json5 from 1.0.1 to 1.0.2 #17

Workflow file for this run

name: Build and Deploy
on:
pull_request:
types: [closed]
jobs:
deploy:
runs-on: ubuntu-20.04
if: github.event.pull_request.merged == true
steps:
- uses: actions/checkout@v3
- name: Setup for github actions
run: |
sed -i -e "2i basePath: '/kokoichi-portfolio',\n" next.config.js
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: '16'
- name: Install dependencies
run: npm install
- name: Build and export as a static file
run: npm run export
# Update gh-pages
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./out