Skip to content

Merge pull request #261 from hiro0218/dependabot/npm_and_yarn/vite-2.… #91

Merge pull request #261 from hiro0218/dependabot/npm_and_yarn/vite-2.…

Merge pull request #261 from hiro0218/dependabot/npm_and_yarn/vite-2.… #91

Workflow file for this run

name: github pages
on:
workflow_dispatch:
push:
branches:
- main
jobs:
deploy:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
with:
submodules: true
fetch-depth: 0
- name: Install
run: npm install
- name: Build
run: npm run build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main'
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_branch: gh-pages
publish_dir: ./dist