We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce880cb commit ea82236Copy full SHA for ea82236
.github/workflows/docs.yml
@@ -57,9 +57,12 @@ jobs:
57
pip install pdoc
58
pdoc ./py/dnadesign -o ./docs
59
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
+ - name: Upload artifact
+ uses: actions/upload-pages-artifact@v2
63
with:
64
- github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
65
- publish_dir: ./docs/dnadesign
+ path: './docs/dnadesign' # Adjust this to your build output directory
+
+ - name: Deploy to GitHub Pages
66
+ id: deployment
67
+ if: github.ref == 'refs/heads/main'
68
+ uses: actions/deploy-pages@v2
0 commit comments