Skip to content

Merge pull request #2 from mnyrop/main #8

Merge pull request #2 from mnyrop/main

Merge pull request #2 from mnyrop/main #8

Workflow file for this run

name: github pages deploy
on:
push:
branches:
- main
paths-ignore:
- 'README.md'
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v2
- name: setup node
uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
- name: install
run: npm install
- name: build
run: npm run build
- name: deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./build