Skip to content

Fix all tests (#112) #96

Fix all tests (#112)

Fix all tests (#112) #96

Workflow file for this run

name: Github-Pages
on: [push]
env:
CI: true
jobs:
make-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up Python 3.9
uses: actions/setup-python@v1
with:
python-version: 3.9
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install pipenv
make deps-install
- name: Run docs
run: |
pip install pytest
pip install pdoc
make doc
- name: Commit files
run: |
git config --local user.email "github-actions[bot]@users.noreply.github.com"
git config --local user.name "github-actions[bot]"
git commit -m "Updated docs" -a||true
- name: Push changes
if: github.repository == 'thingsapi/things.py'
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}