Update docs.yml

This commit is contained in:
Dean Eigenmann 2020-12-21 12:31:12 +01:00 committed by GitHub
parent 8ff4960ba5
commit bcc101aa50
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 7 deletions

View File

@ -5,11 +5,6 @@ on:
branches:
- master
env:
nim-version: stable
nim-src: waku/waku.nim
deploy-dir: .gh-pages
jobs:
docs:
runs-on: ubuntu-latest
@ -34,8 +29,9 @@ jobs:
run: |
make -j2 NIMFLAGS="--parallelBuild:2" V=1 update
make -j2 NIMFLAGS="--parallelBuild:2" LOG_LEVEL=TRACE
- uses: jiro4989/setup-nim-action@v1
- run: nimble doc --accept --index:on --project --out:${{ env.deploy-dir }} ${{ env.nim-src }}
- name: Install dependencies
run: |
make -j2 NIMFLAGS="--parallelBuild:2" V=1 docs
- name: Deploy documents
uses: peaceiris/actions-gh-pages@v3
with: