Skip to content

Merge pull request #14 from mozilla-japan/hmatrjp-patch-2 #4

Merge pull request #14 from mozilla-japan/hmatrjp-patch-2

Merge pull request #14 from mozilla-japan/hmatrjp-patch-2 #4

Workflow file for this run

name: pages
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 16.x
- name: Install dependencies
run: npm install
- name: Generate Documents
run: npm run build
- uses: actions/upload-pages-artifact@v1
with:
path: ./_book
deploy:
needs: build
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1