Merge branch 'v0.4-preview' of github.com:transientlunatic/heron into… #13
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 sphinx-multiversion | |
pip install kentigern | |
pip install -r requirements.txt | |
pip install -r requirements_dev.txt | |
pip install . | |
cd docs | |
make html | |
- name: SCP Deploy HTML Docs | |
uses: horochx/[email protected] | |
with: | |
local: docs/_build/html/* | |
remote: /home/danwilliams/code.daniel-williams.co.uk/heron/${{ github.ref_name }} | |
host: ${{ secrets.sshhost }} | |
user: ${{ secrets.sshuser }} | |
key: ${{ secrets.sshkey }} |