Skip to content

Commit

Permalink
CI #274 add upload to workflow and re-arrange per murky project
Browse files Browse the repository at this point in the history
  • Loading branch information
prjemian committed Feb 24, 2024
1 parent 4f5eeeb commit 290f24a
Showing 1 changed file with 10 additions and 3 deletions.
13 changes: 10 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ defaults:
jobs:

pages:

runs-on: ubuntu-20.04
name: Publish documentation
runs-on: ubuntu-latest

steps:

Expand All @@ -45,13 +45,20 @@ jobs:
- name: Set time zone
run: echo "TZ=America/Chicago" >> "$GITHUB_ENV"

- id: deployment
- name: Sphinx build
id: deployment
uses: sphinx-notes/pages@v3
with:
documentation_path: ./docs/source
publish: false
requirements_path: ./docs/requirements.txt

- name: Upload Docs ZIP file as artifact
uses: actions/upload-artifact@v4
with:
name: ${{ env.REPOSITORY_NAME }}-docs
path: docs/build/html/

- uses: peaceiris/actions-gh-pages@v3
if: ${{ github.event.inputs.deploy }}
with:
Expand Down

0 comments on commit 290f24a

Please sign in to comment.