Skip to content

Commit

Permalink
attempt to fix apidocs
Browse files Browse the repository at this point in the history
  • Loading branch information
bw2 committed Jun 28, 2023
1 parent 6d8b849 commit 6463782
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/apidocs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: apidocs

on:
push:
branches: [ master ]
tags:
- '*'

jobs:
deploy:
runs-on: macos-latest

steps:
- uses: actions/checkout@master
- name: Set up Python 3.8
uses: actions/setup-python@v2
with:
python-version: 3.8

- name: Install requirements for documentation generation
run: python -m pip install --upgrade pip setuptools wheel tox

- name: Generate API documentation with pydoctor
run: tox -e apidocs

- name: Push API documentation to Github Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./apidocs
commit_message: "Generate API documentation"

0 comments on commit 6463782

Please sign in to comment.