Skip to content

Commit

Permalink
Need to use artifacts to share the final docs with the upload job
Browse files Browse the repository at this point in the history
  • Loading branch information
ewanwm authored Oct 23, 2024
1 parent c93b5cf commit f924a83
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/Doxygen.yml
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,29 @@ jobs:
mkdir to-upload/pyMaCh3
mv Doc/sphinx/build/html/* to-upload/pyMaCh3/
- uses: actions/upload-artifact@v4
with:
retention-days: 1
name: DocumentationHTML
path: to-upload


Deploy:
runs-on: ubuntu-latest
needs: [Doxygen, Sphinx]

steps:

- name: Download Artifact
uses: actions/download-artifact@master
with:
name: DocumentationHTML
path: to-upload/

## EM: Now we delete the artifact so it doesn't use up our allowance
- uses: geekyeggo/delete-artifact@v5
with:
name: DocumentationHTML

# Deploys the generated documentation to GitHub Pages
- name: Deploy
Expand Down

0 comments on commit f924a83

Please sign in to comment.