diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index e71bd5c..9f32b2c 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -86,7 +86,30 @@ jobs: - name: Generate Docs run: | source venv/bin/activate - cd docsource && make github && cd .. + cd docsource + make html + + publish-docs: + name: Publish Docs + needs: generate-docs + runs-on: ubuntu-latest + + steps: + - name: Restore Workspace + uses: actions/download-artifact@v2 + with: + name: workspace + + - name: Extract Workspace Archive + run: | + tar -xzf workspace.tar.gz + + - name: Publish Docs to Github Pages + run: | + echo "$PWD" + ls + source venv/bin/activate + cd docsource && make html && make github && cd .. echo "$PWD" ls git config --global user.name 'GitHub Actions'