Skip to content

Merge pull request #183 from MasatoMakino/dependabot/npm_and_yarn/jes… #121

Merge pull request #183 from MasatoMakino/dependabot/npm_and_yarn/jes…

Merge pull request #183 from MasatoMakino/dependabot/npm_and_yarn/jes… #121

Workflow file for this run

name: Publish github pages
on:
push:
branches: [main]
jobs:
publish:
if: ${{ github.ref == 'refs/heads/main' }}
runs-on: ubuntu-22.04
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "18"
cache: "npm"
- run: npm ci
- run: npm run build
- name: Deploy Github pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs