Update docs.yml

This commit is contained in:
Dean Eigenmann 2020-12-21 10:56:51 +01:00 committed by GitHub
parent 5da657926e
commit 884c43de33
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,7 @@ env:
nim-version: stable
nim-src: waku/waku.nim
deploy-dir: .gh-pages
key:
jobs:
docs:
@ -32,8 +33,8 @@ jobs:
- name: Install dependencies
run: |
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" V=1 update
make -j${NPROC} NIMFLAGS="--parallelBuild:${NPROC}" LOG_LEVEL=TRACE
make -j2 NIMFLAGS="--parallelBuild:2" V=1 update
make -j2 NIMFLAGS="--parallelBuild:2" LOG_LEVEL=TRACE
- run: nim doc --index:on --project --out:${{ env.deploy-dir }} ${{ env.nim-src }}
- name: Deploy documents
uses: peaceiris/actions-gh-pages@v3