Skip to content
Permalink
Browse files

Merge pull request #113 from nickelc/ci-docs

Add CI job for testing the docs
  • Loading branch information
Turupawn committed Feb 6, 2020
2 parents 291f1e5 + 2d03b85 commit fcdbf82dd3281b235427a16a745ddea26908e8fe
Showing with 28 additions and 0 deletions.
  1. +28 −0 .github/workflows/ci.yml
@@ -100,3 +100,31 @@ jobs:
run: |
cd ${{ matrix.build-dir || '.' }}
ctest -C ${{ matrix.build-config || 'Release' }} --output-on-failure
docs:
name: Build docs

runs-on: ubuntu-latest

steps:
- name: Install mdBook
uses: peaceiris/actions-mdbook@v1

- name: Checkout
uses: actions/checkout@v2

- name: Checkout wiki
uses: actions/checkout@v2
with:
repository: modio/SDK.wiki
path: wiki

- name: Build
run: |
mkdir -p book/src
cp wiki/*.md book/src/
rename.ul '::' '__' book/src/*
cd book
cat src/_Sidebar.md | ./linkfix.py summary > src/SUMMARY.md
mdbook build -d docs
zip -r ../docs.zip docs/*

0 comments on commit fcdbf82

Please sign in to comment.
You can’t perform that action at this time.