Skip to content

Commit 91e1237

Browse files
authored
Update build_docs.yaml
1 parent 76525c9 commit 91e1237

File tree

1 file changed

+11
-19
lines changed

1 file changed

+11
-19
lines changed

.github/workflows/build_docs.yaml

Lines changed: 11 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ jobs:
3838

3939
- name: Generate Documentation
4040
shell: bash -l {0}
41-
run: pdoc synaptic_reconstruction -o doc/html
41+
run: pdoc -o doc/
4242

4343
- name: Verify Documentation Output
44-
run: ls -la doc/html
44+
run: ls -la doc/
4545

4646
- name: Upload Documentation Artifact
47-
uses: actions/upload-artifact@v4
47+
uses: actions/upload-pages-artifact@v4
4848
with:
49-
name: documentation
49+
# name: documentation
5050
path: doc/
5151

5252
deploy:
@@ -60,22 +60,14 @@ jobs:
6060
name: github-pages
6161
url: ${{ steps.deployment.outputs.page_url }}
6262
steps:
63-
- name: Download Documentation Artifact
64-
uses: actions/download-artifact@v4
65-
with:
66-
name: documentation
67-
path: .
68-
- name: Copy pdoc HTML to root
69-
run: |
70-
ls -la .
71-
cp -r documentation/* . # Copy HTML content to root directory
72-
73-
- name: Copy markdown files to root
74-
run: |
75-
cp doc/*.md . # Copy markdown files from doc/ to root directory
63+
# - name: Download Documentation Artifact
64+
# uses: actions/download-artifact@v4
65+
# with:
66+
# name: documentation
67+
# path: .
7668

7769
- name: Deploy to GiHub Pages
7870
uses: actions/deploy-pages@v4
79-
with:
80-
artifact_name: documentation
71+
# with:
72+
# artifact_name: documentation
8173

0 commit comments

Comments
 (0)