Skip to content

Commit

Permalink
docs: test pdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
Ivelin Ivanov authored Mar 26, 2021
1 parent 57000d0 commit ac6bc9f
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Build Docs

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
publish_docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Python
uses: actions/setup-python@v2
with:
python-version: 3
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pdoc3
- name: Run build script
run: |
pdoc --html src/ambianic
- name: Deploy to github pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./html

0 comments on commit ac6bc9f

Please sign in to comment.