From ecab9b13ead23c52f96301c6a20b813cffd1ed72 Mon Sep 17 00:00:00 2001 From: "Dawn E. Smith" Date: Tue, 30 Aug 2022 18:49:04 -0400 Subject: [PATCH] Uncomment steps --- .github/workflows/update_docs.yml | 24 +++++++++++------------- 1 file changed, 11 insertions(+), 13 deletions(-) diff --git a/.github/workflows/update_docs.yml b/.github/workflows/update_docs.yml index 2f16999c..c9e4b0dc 100644 --- a/.github/workflows/update_docs.yml +++ b/.github/workflows/update_docs.yml @@ -15,16 +15,14 @@ jobs: - name: Update pip run: python -m pip install --upgrade pip - name: Install docs requirements - run: ls -al - # - name: Install docs requirements - # run: python -m pip install .[docs] - # - name: Build docs - # run: sphinx-build docs docs/_build - # - name: Add .nojekyll file to build folder - # run: touch docs/_build/.nojekyll - # - name: Deploy docs if the branch has updated - # uses: JamesIves/github-pages-deploy-action@v4.2.2 - # with: - # branch: gh-pages - # folder: docs/_build - # if: github.event_name == 'push' + run: python -m pip install .[docs] + - name: Build docs + run: sphinx-build docs docs/_build + - name: Add .nojekyll file to build folder + run: touch docs/_build/.nojekyll + - name: Deploy docs if the branch has updated + uses: JamesIves/github-pages-deploy-action@v4.2.2 + with: + branch: gh-pages + folder: docs/_build + if: github.event_name == 'push'