From 13ae24d116b872e9a1c439cedca07a9e384b3932 Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 5 Dec 2023 12:16:58 +0100 Subject: [PATCH] fix build file --- .github/workflows/build.yml | 31 ------------------------------- 1 file changed, 31 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index ae3ae99a..9402c20f 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -61,17 +61,6 @@ jobs: GITHUB_TOKEN: ${{ secrets.github_token }} COVERALLS_FLAG_NAME: python-${{ matrix.version }} COVERALLS_PARALLEL: true - # Standard drop-in approach that should work for most people. - - uses: ammaraskar/sphinx-action@master - with: - docs-folder: "docs/" - # Great extra actions to compose with: - # Create an artifact of the html output. - - uses: actions/upload-artifact@v1 - with: - name: DocumentationHTML - path: docs/_build/html/ - finish: needs: build @@ -82,23 +71,3 @@ jobs: with: github-token: ${{ secrets.github_token }} parallel-finished: true - # Publish built docs to gh-pages branch. - # =============================== - - name: Commit documentation changes - run: | - git clone https://github.com/NLESC-JCER/QMCTorch.git --branch gh-pages --single-branch gh-pages - cp -r docs/_build/html/* gh-pages/ - cd gh-pages - touch .nojekyll - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - git add . - git commit -m "Update documentation" -a || true - # The above command will fail if no changes were present, so we ignore - # that. - - name: Push changes - uses: ad-m/github-push-action@master - with: - branch: gh-pages - directory: gh-pages - github_token: ${{ secrets.GITHUB_TOKEN }}