From 2915b19dbdce4151857d3f453a77ba415385dae0 Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Mon, 12 Dec 2022 16:52:46 +0530 Subject: [PATCH] fix(ci): remove nim doc action temporarily (#1456) * fix(ci): changes to nim doc input * fix(ci): remove docs ci --- .github/workflows/docs.yml | 39 -------------------------------------- Makefile | 2 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 .github/workflows/docs.yml diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml deleted file mode 100644 index c4ccd1b96..000000000 --- a/.github/workflows/docs.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: docs - -on: - push: - branches: - - master - -jobs: - docs: - runs-on: ubuntu-latest - steps: - - name: Checkout code - uses: actions/checkout@v2 - - # We need to do this because of how github cache works - # I am not sure we can move the cache file, so if we do not do this - # make update breaks because the cached compiler is there where the submodules - # are meant to go. - - name: Submodules - run: | - git submodule update --init --recursive - - name: Cache nim - uses: actions/cache@v1 - with: - path: vendor/nimbus-build-system/vendor/Nim/bin - key: ${{ runner.os }}-2-nim-${{ hashFiles('.gitmodules') }} - - - name: Install dependencies - run: | - make -j2 NIMFLAGS="--parallelBuild:2" V=1 update - make -j2 NIMFLAGS="--parallelBuild:2" LOG_LEVEL=TRACE - - name: Generate docs - run: | - make -j2 NIMFLAGS="--parallelBuild:2" V=1 docs - - name: Deploy documents - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ${{ env.deploy-dir }} diff --git a/Makefile b/Makefile index cf9a930e5..e049756b2 100644 --- a/Makefile +++ b/Makefile @@ -219,7 +219,7 @@ sim1: | build deps wakunode1 # TODO: Remove unused target docs: | build deps echo -e $(BUILD_MSG) "build/$@" && \ - $(ENV_SCRIPT) nim doc --accept --index:on --project --out:.gh-pages waku/waku.nim waku.nims + $(ENV_SCRIPT) nim doc --run --index:on --project --out:.gh-pages waku/waku.nim waku.nims #####################