Skip to content

Commit ea82236

Browse files
committed
workflows
1 parent ce880cb commit ea82236

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/docs.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,12 @@ jobs:
5757
pip install pdoc
5858
pdoc ./py/dnadesign -o ./docs
5959
60-
- name: Deploy to GitHub Pages
61-
uses: peaceiris/actions-gh-pages@v3
62-
if: github.ref == 'refs/heads/main' # Only deploy on the main branch
60+
- name: Upload artifact
61+
uses: actions/upload-pages-artifact@v2
6362
with:
64-
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
65-
publish_dir: ./docs/dnadesign
63+
path: './docs/dnadesign' # Adjust this to your build output directory
64+
65+
- name: Deploy to GitHub Pages
66+
id: deployment
67+
if: github.ref == 'refs/heads/main'
68+
uses: actions/deploy-pages@v2

0 commit comments

Comments
 (0)