mirror of https://github.com/MISP/misp-book
52 lines
1.6 KiB
YAML
52 lines
1.6 KiB
YAML
name: Honkit test
|
|
|
|
on: [push]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
max-parallel: 4
|
|
steps:
|
|
- name: Install honkit
|
|
run: |
|
|
sudo apt -y install libgif-dev calibre npm nodejs
|
|
sudo npm config set strict-ssl false
|
|
sudo npm cache clean -f
|
|
npm install honkit
|
|
- name: Install plugin-github
|
|
run: |
|
|
npm install gitbook-plugin-github
|
|
- name: Install plugin-atoc
|
|
run: |
|
|
npm install gitbook-plugin-atoc
|
|
- name: Install plugin-anchors
|
|
run: |
|
|
npm install gitbook-plugin-anchors
|
|
- name: Install plugin-image-class
|
|
run: |
|
|
npm install gitbook-plugin-image-class
|
|
- name: Install plugin-codesnippet
|
|
run: |
|
|
npm install gitbook-plugin-codesnippet
|
|
- name: Install plugin-last-modified
|
|
run: |
|
|
npm install gitbook-plugin-last-modified
|
|
- name: Install plugin-sitemap
|
|
run: |
|
|
npm install gitbook-plugin-sitemap
|
|
- name: Install plugin-advanced-emoji
|
|
run: |
|
|
npm install gitbook-plugin-advanced-emoji
|
|
- name: Run honkit version
|
|
run: |
|
|
./node_modules/.bin/honkit -V --log debug
|
|
- name: Run honkit parse test
|
|
run: |
|
|
./node_modules/.bin/honkit parse --log debug
|
|
- name: Run honkit build
|
|
run: |
|
|
pwd
|
|
ls -la
|
|
./node_modules/.bin/honkit build --log debug
|