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

View File

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