mirror of https://github.com/MISP/misp-book
fix: [workflow] Actually checkout the repo
parent
7bd9ba1818
commit
57648ba7fd
|
@ -8,16 +8,16 @@ jobs:
|
|||
strategy:
|
||||
max-parallel: 4
|
||||
steps:
|
||||
- name: Install honkit
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
ref: main
|
||||
|
||||
- name: Install honkit and dependencies
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
sudo apt -y install libgif-dev calibre npm nodejs
|
||||
sudo npm config set strict-ssl false
|
||||
sudo npm cache clean -f
|
||||
npm install honkit
|
||||
pwd
|
||||
ls -la
|
||||
- name: Install plugin-github
|
||||
run: |
|
||||
npm install gitbook-plugin-github
|
||||
|
@ -27,6 +27,15 @@ jobs:
|
|||
- name: Install plugin-anchors
|
||||
run: |
|
||||
npm install gitbook-plugin-anchors
|
||||
- name: Install plugin-alerts
|
||||
run: |
|
||||
npm install gitbook-plugin-alerts
|
||||
- name: Install plugin-search
|
||||
run: |
|
||||
npm install gitbook-plugin-search
|
||||
- name: Install plugin-gist
|
||||
run: |
|
||||
npm install gitbook-plugin-gist
|
||||
- name: Install plugin-image-class
|
||||
run: |
|
||||
npm install gitbook-plugin-image-class
|
||||
|
@ -36,19 +45,24 @@ jobs:
|
|||
- name: Install plugin-last-modified
|
||||
run: |
|
||||
npm install gitbook-plugin-last-modified
|
||||
- name: Install plugin-fontsettings
|
||||
run: |
|
||||
npm install gitbook-plugin-fontsettings
|
||||
- name: Install plugin-sitemap
|
||||
run: |
|
||||
npm install gitbook-plugin-sitemap
|
||||
- name: Install plugin-advanced-emoji
|
||||
run: |
|
||||
npm install gitbook-plugin-advanced-emoji
|
||||
pwd
|
||||
ls -la
|
||||
- name: Run honkit build
|
||||
run: |
|
||||
pwd
|
||||
ls -la
|
||||
cd ..
|
||||
pwd
|
||||
ls -la
|
||||
npx honkit build --log debug
|
||||
npx honkit build
|
||||
- name: Run honkit build pdf
|
||||
run: |
|
||||
npx honkit pdf
|
||||
- name: Run honkit epub pdf
|
||||
run: |
|
||||
npx honkit epub
|
||||
- name: Run honkit epub mobi
|
||||
run: |
|
||||
npx honkit mobi
|
||||
|
|
Loading…
Reference in New Issue