Merge pull request #3 from sissaschool/devel #10
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
# This workflow will deploy the sphinx document. | |
name: sphinx-build-test | |
on: | |
push: | |
branches: [ "main", "devel" ] | |
pull_request: | |
branches: [ "main", "devel" ] | |
jobs: | |
sphinx-build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Install and Setup Python | |
uses: actions/setup-python@v3 | |
with: | |
python-version: 3.8 | |
- name: Install python dependencies | |
run: pip install sphinx sphinx-rtd-theme | |
- name: Checkout the project repository | |
uses: actions/checkout@v2 | |
- name: Build the sphinx document. | |
#working-directory: doc | |
run: | | |
make html | |