Skip to content

Commit

Permalink
back to 1 stage
Browse files Browse the repository at this point in the history
  • Loading branch information
venkatajagannath committed Jun 27, 2024
1 parent 73263dc commit be3d885
Showing 1 changed file with 3 additions and 30 deletions.
33 changes: 3 additions & 30 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ concurrency:
cancel-in-progress: true

jobs:
build:
build-and-deploy:
runs-on: ubuntu-20.04

steps:
Expand Down Expand Up @@ -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'

0 comments on commit be3d885

Please sign in to comment.