DOCS: Add sphinx to project dependencies. #51
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: Docs | |
on: [push, pull_request] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: Docs | |
defaults: | |
run: | |
working-directory: . | |
steps: | |
- uses: actions/checkout@v1 | |
- uses: actions/setup-python@v2 | |
with: | |
python-version: '3.10' | |
- name: Install ubuntu packages | |
run: sudo apt-get update | |
- name: Install requirements | |
run: sudo apt-get install -y libegl1 | |
- name: Install requirements | |
run: pip install -r requirements.txt | |
- name: Docs | |
uses: appleboy/ssh-action@v0.1.10 | |
with: | |
host: ${{ secrets.SSH_HOST }} | |
username: ${{ secrets.SSH_USER }} | |
key: ${{ secrets.SSH_Key }} | |
script: cd /root/faslr; git pull; bash /root/faslr/docs/build_docs.sh |