tbb: fix import lib
[m6w6/libmemcached] / .github / workflows / docs-publish-pages.yml
1 name: docs-publish-pages
2
3 on:
4 push:
5 paths:
6 - 'docs/**'
7 - 'ChangeLog*'
8 branches:
9 - v1.x
10
11 env:
12 GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
13
14 jobs:
15 publish:
16 runs-on: ubuntu-20.04
17 steps:
18 - uses: actions/checkout@v2
19 - name: Install dependencies
20 run: |
21 sudo apt-get install -y \
22 python3-m2r \
23 python3-sphinx \
24 python3-sphinx-rtd-theme
25 - name: Configure
26 run: |
27 cmake -DBUILD_DOCSONLY=ON -DBUILD_DOCS_HTML=ON -DBUILD_DOCS_MAN=OFF -S . -B build
28 - name: Build
29 run: |
30 make -C build html
31 - uses: crazy-max/ghaction-github-pages@v2
32 if: success()
33 with:
34 jekyll: false
35 keep_history: true
36 allow_empty_commit: false
37 build_dir: build/docs/html