Skip to content

Commit

Permalink
workflows: Fixed workflow to build documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
msinn committed May 14, 2022
1 parent d3a24e4 commit 539f33d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .github/workflows/builddevdoc.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
name: "Build doc from develop"
name: "Build doc from develop/plugins"
#on: [workflow_dispatch, push]
on:
workflow_dispatch:
push:
branches:
- 'develop'
env:
DEP_PATH: smarthomeng/requirements/all.txt

jobs:
build:
runs-on: ubuntu-20.04 #latest
Expand Down Expand Up @@ -46,6 +45,12 @@ jobs:
#- run: pip install sphinx sphinx_rtd_theme recommonmark ruamel.yaml pytest
- name: Install requirements for documentation build
run: pip install -r smarthomeng/doc/requirements.txt

- name: Build Requirements for SmartHomeNG
run: python3 smarthomeng/tools/build_requirements.py
- name: Install SmartHomeNG base requirements
# base requirements are needed for building of documentation
run: pip install -r smarthomeng/requirements/base.txt
- name: List installed packages
run: pip list

Expand Down

0 comments on commit 539f33d

Please sign in to comment.