Skip to content

pep8

pep8 #665

Workflow file for this run

name: documentation
on:
push:
branches: [ master ]
jobs:
docs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
fetch-depth: '2'
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: '3.7'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install .[all]
pip install pdoc3
- name: Generate documentation
run: |
pdoc3 --html --force --template-dir pdoc3-template refinery
- name: Upload documentation
env:
auth: ${{ secrets.GH_PAGES_TOKEN }}
working-directory: ./html/refinery
shell: bash
run: |
git init
git config user.email "huettenhain@users.noreply.github.com"
git config user.name jesko
git remote add origin https://huettenhain:$auth@github.com/binref/binref.github.io
git add --all
git commit -m refinery/${{github.sha}}
git push origin master --force