Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prepare second docs artifact, for human consumption #12

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 16 additions & 2 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,26 @@ jobs:
shell: bash
run: |
tox -edocs
- name: Upload docs artifact
if: always()
- name: Upload docs artifact for GitHub Pages
uses: actions/upload-pages-artifact@v3
with:
path: docs/_build/html

# Provide a nicely named artifact that extracts into an
# identically named subdirectory.
- name: Prepare nice docs artifact for humans
if: always()
shell: bash
run: |
mkdir artifact
cp -a docs/_build/html artifact/qiskit-addon-utils-htmldocs
- name: Upload nice docs artifact
if: always()
uses: actions/upload-artifact@v4
with:
name: qiskit-addon-utils-htmldocs
path: ./artifact

deploy:
name: deploy docs
if: ${{ github.ref == 'refs/heads/stable/0.1' }}
Expand Down