Skip to content

Commit

Permalink
workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Koeng101 committed Aug 17, 2024
1 parent ce880cb commit ea82236
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,12 @@ jobs:
pip install pdoc
pdoc ./py/dnadesign -o ./docs
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
if: github.ref == 'refs/heads/main' # Only deploy on the main branch
- name: Upload artifact
uses: actions/upload-pages-artifact@v2
with:
github_token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
publish_dir: ./docs/dnadesign
path: './docs/dnadesign' # Adjust this to your build output directory

- name: Deploy to GitHub Pages
id: deployment
if: github.ref == 'refs/heads/main'
uses: actions/deploy-pages@v2

0 comments on commit ea82236

Please sign in to comment.