Add install requirements to test runner. #2
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Documentation | |
on: | |
push: | |
branches: | |
- master | |
- v*-preview | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Python 3.8 | |
uses: actions/setup-python@v2 | |
with: | |
python-version: 3.8 | |
- name: Build HTML Docs | |
run: | | |
sudo apt install pandoc | |
pip install sphinx | |
pip install kentigern | |
pip install -r requirements.txt | |
pip install -r requirements_dev.txt | |
pip install . | |
cd docs | |
make multi | |
- name: SCP Deploy HTML Docs | |
uses: horochx/[email protected] | |
with: | |
local: docs/_build/html/* | |
remote: /home/danwilliams/code.daniel-williams.co.uk/heron/ | |
host: ${{ secrets.sshhost }} | |
user: ${{ secrets.sshuser }} | |
key: ${{ secrets.sshkey }} |