Skip to content

chore(deps): Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#1444) #68

chore(deps): Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#1444)

chore(deps): Bump peaceiris/actions-gh-pages from 3.9.3 to 4.0.0 (#1444) #68

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@9bb56186c3b09b4f86b1c65136769dd318469633
- uses: actions/setup-node@d86ebcd40b3cb50b156bfa44dd277faf38282d12
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@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs