Skip to content

Commit

Permalink
Update build_docs.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
lufre1 authored Nov 29, 2024
1 parent 76525c9 commit 91e1237
Showing 1 changed file with 11 additions and 19 deletions.
30 changes: 11 additions & 19 deletions .github/workflows/build_docs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -38,15 +38,15 @@ jobs:

- name: Generate Documentation
shell: bash -l {0}
run: pdoc synaptic_reconstruction -o doc/html
run: pdoc -o doc/

- name: Verify Documentation Output
run: ls -la doc/html
run: ls -la doc/

- name: Upload Documentation Artifact
uses: actions/upload-artifact@v4
uses: actions/upload-pages-artifact@v4
with:
name: documentation
# name: documentation
path: doc/

deploy:
Expand All @@ -60,22 +60,14 @@ jobs:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
steps:
- name: Download Documentation Artifact
uses: actions/download-artifact@v4
with:
name: documentation
path: .
- name: Copy pdoc HTML to root
run: |
ls -la .
cp -r documentation/* . # Copy HTML content to root directory
- name: Copy markdown files to root
run: |
cp doc/*.md . # Copy markdown files from doc/ to root directory
# - name: Download Documentation Artifact
# uses: actions/download-artifact@v4
# with:
# name: documentation
# path: .

- name: Deploy to GiHub Pages
uses: actions/deploy-pages@v4
with:
artifact_name: documentation
# with:
# artifact_name: documentation

0 comments on commit 91e1237

Please sign in to comment.