From be3d885153595db7a78a174b545a16a9cc1af1e6 Mon Sep 17 00:00:00 2001 From: Venkat Date: Thu, 27 Jun 2024 14:46:28 -0400 Subject: [PATCH] back to 1 stage --- .github/workflows/docs.yml | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/.github/workflows/docs.yml b/.github/workflows/docs.yml index cffb97d..b80bb0a 100644 --- a/.github/workflows/docs.yml +++ b/.github/workflows/docs.yml @@ -14,7 +14,7 @@ concurrency: cancel-in-progress: true jobs: - build: + build-and-deploy: runs-on: ubuntu-20.04 steps: @@ -47,37 +47,10 @@ jobs: find "$(pwd)" -type d -print find "$(pwd)" -type f -print - - name: Upload documentation - uses: actions/upload-artifact@v2 - with: - name: built-docs - path: docs/_build/html - - deploy: - runs-on: ubuntu-20.04 - needs: build - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Download documentation - uses: actions/download-artifact@v2 - with: - name: built-docs - path: ./built-docs - - - name: List downloaded documentation - run: | - echo "Listing contents of downloaded built-docs:" - find "$(pwd)/built-docs" -type d -print - find "$(pwd)/built-docs" -type f -print - - name: Deploy to GitHub Pages id: deployment uses: sphinx-notes/pages@v3 with: - documentation_path: 'built-docs' - publish: 'true' repository_path: '.' - sphinx_build_options: '-c docs' + documentation_path: 'docs/_build/html' + publish: 'true'