Skip to content

Commit

Permalink
Update docs.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Snedashkovsky authored May 7, 2024
1 parent a2d6bb7 commit 837a873
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,13 @@ jobs:
source venv/bin/activate
pip install --upgrade pip
pip install -e .
pip install pdoc3
pip install pdoc3 ghp-import
- name: Build documentation
run: |
source venv/bin/activate
pdoc --html --output-dir docs/ ../cybertensor
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs/
- name: Deploy to GitHub Pages, Run ghp-import
run: |
ghp-import -n -p -f docs/cybertensor

0 comments on commit 837a873

Please sign in to comment.