Skip to content

chore(deps): Bump actions/checkout from 3 to 4 (#1275) #64

chore(deps): Bump actions/checkout from 3 to 4 (#1275)

chore(deps): Bump actions/checkout from 3 to 4 (#1275) #64

Workflow file for this run

name: Deploy to GitHub Pages
on:
push:
branches:
- master
env:
FORCE_COLOR: 2
NODE: 16
permissions:
contents: read
jobs:
pages:
permissions:
contents: write # for peaceiris/actions-gh-pages to push pages branch
name: Deploy to GitHub Pages
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac
- uses: actions/setup-node@e33196f7422957bea03ed53f6fbb155025ffc7b8
with:
node-version: "${{ env.NODE }}"
cache: "npm"
- run: npm ci
- name: Build docs
run: npm run build:docs
- name: Deploy
uses: peaceiris/actions-gh-pages@373f7f263a76c20808c831209c920827a82a2847
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs