Skip to content

update github workflow #32

update github workflow

update github workflow #32

Workflow file for this run

name: Deploy to GitHub Pages on merge
'on':
push:
branches:
- main
jobs:
build_and_deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- run: yarn install && yarn generate
env:
NODE_OPTIONS: --openssl-legacy-provider
- uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./dist