diff --git a/.github/workflows/build-gh-pages.yml b/.github/workflows/build-gh-pages.yml index 4d15067..f06d23d 100644 --- a/.github/workflows/build-gh-pages.yml +++ b/.github/workflows/build-gh-pages.yml @@ -46,10 +46,20 @@ jobs: runs-on: ubuntu-latest needs: build steps: + - name: Checkout + uses: actions/checkout@v3 + - name: Install Python Dependencies + run: | + python -m pip install --upgrade pip + python -m pip install flake8 pytest + if [ -f requirements.txt ]; then pip install -r requirements.txt; fi + - name: Build Updated Documentation + run: | + sphinx-build -b html docs/source/ docs/build/html - name: Setup Pages uses: actions/configure-pages@v3 - name: Upload artifact - uses: actions/upload-pages-artifact@v1 + uses: actions/upload-pages-artifact@v2 with: # Upload entire repository path: './docs/build/html'