diff --git a/.github/workflows/honkit.yml b/.github/workflows/honkit.yml index 3a1ca46..ab574a3 100644 --- a/.github/workflows/honkit.yml +++ b/.github/workflows/honkit.yml @@ -8,22 +8,61 @@ jobs: strategy: max-parallel: 4 steps: - - name: Install honkit + - uses: actions/checkout@v3 + with: + ref: main + + - name: Install honkit and dependencies run: | - sudo apt-get -y install libgif-dev calibre npm nodejs + sudo apt -y install libgif-dev calibre npm nodejs sudo npm config set strict-ssl false sudo npm cache clean -f - sudo npm install -g n - sudo n stable - sudo npm update -g - npm install honkit --save-dev + 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-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 + - 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-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 - npm install gitbook-plugin-image-class + - name: Run honkit build + run: | 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 diff --git a/.travis.yml b/.travis.yml deleted file mode 100644 index a349e53..0000000 --- a/.travis.yml +++ /dev/null @@ -1,29 +0,0 @@ -language: node_js -node_js: - - "14" - -dist: trusty - -sudo: required - -install: - - sudo apt-get -y install libgif-dev calibre npm - - sudo npm config set strict-ssl false - - sudo npm cache clean -f - - sudo npm install -g n - - sudo n stable - - sudo npm update -g - - npm install honkit - - npm install gitbook-plugin-github - - npm install gitbook-plugin-atoc - - npm install gitbook-plugin-anchors - - npm install gitbook-plugin-image-class - - npm install gitbook-plugin-codesnippet - - npm install gitbook-plugin-last-modified - - npm install gitbook-plugin-sitemap - - npm install gitbook-plugin-advanced-emoji - - npm install gitbook-plugin-image-class - -script: - - npm install honkit - - npx honkit build diff --git a/README.md b/README.md index e6bc04b..4f23b90 100644 --- a/README.md +++ b/README.md @@ -4,7 +4,7 @@ description: Introduction to MISP - Open Source Threat Intelligence Sharing Plat # Introduction -[![Build Status](https://travis-ci.org/MISP/misp-book.svg?branch=master)](https://travis-ci.org/MISP/misp-book) +![Build Status](https://github.com/MISP/misp-book/actions/workflows/honkit.yml/badge.svg) ![MISP logo](https://raw.githubusercontent.com/MISP/MISP/2.4/INSTALL/logos/misp-logo.png) @@ -40,9 +40,9 @@ The MISP user guide is dual-licensed under [GNU Affero General Public License ve * Copyright \(C\) 2012 Christophe Vandeplas * Copyright \(C\) 2012 Belgian Defence * Copyright \(C\) 2012 NATO / NCIRC -* Copyright \(C\) 2013-2020 Andras Iklody -* Copyright \(C\) 2015-2021 Alexandre Dulaunoy -* Copyright \(C\) 2014-2021 CIRCL - Computer Incident Response Center Luxembourg +* Copyright \(C\) 2013-2021 Andras Iklody +* Copyright \(C\) 2015-2022 Alexandre Dulaunoy +* Copyright \(C\) 2014-2022 CIRCL - Computer Incident Response Center Luxembourg * Copyright \(C\) 2018 Camille Schneider -* Copyright \(C\) 2018-2020 Steve Clement +* Copyright \(C\) 2018-2022 Steve Clement * Copyright \(C\) 2021 Jeroen Pinoy