Skip to content

Merge pull request #270 from patcon/patch-2 #224

Merge pull request #270 from patcon/patch-2

Merge pull request #270 from patcon/patch-2 #224

name: Deploy to GitHub Pages
on:
push:
branches:
- master
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: '18.x'
- name: Install and build
run: |
npm install
npx honkit build
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./_book