Skip to content

Merge pull request #79 from keboola/CFT-3469-Update-documentation #1

Merge pull request #79 from keboola/CFT-3469-Update-documentation

Merge pull request #79 from keboola/CFT-3469-Update-documentation #1

Workflow file for this run

name: Build & Test
on:
push:
branches:
- "main"
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: "3.11"
- name: Create html documentation
run: |
pip install --user pdoc3
python setup.py install
pdoc --html -f -o .\docs keboola.component
mv .docs/keboola/component/* docs
rm -r .docs/keboola
- name: Commit docs
run: |
git config --global user.name 'KCF'
git config --global user.email 'kcf@users.noreply.github.com'
git commit --allow-empty -am "Automated html docs build"
git push