Skip to content

Merge pull request #126 from kakadigi/119-portfolio-page #36

Merge pull request #126 from kakadigi/119-portfolio-page

Merge pull request #126 from kakadigi/119-portfolio-page #36

Workflow file for this run

name: Deploy to Github Pages
on:
push:
branches:
- main
workflow_dispatch:
jobs:
deployment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: "lts/*"
cache: "npm"
- name: Code checker
run: |
npm i
npm run lint
npm run prettier
- name: Build
run: |
npm run build
npm run export
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.ACTIONS_DEPLOY_KEY }}
publish_dir: ./out