Add-Github-Documentation #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 pull Request Docs Check" | |
on: | |
pull_request: | |
jobs: | |
docs: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Install prerequisites | |
run: | | |
sudo apt-get --allow-releaseinfo-change update -y && sudo apt-get install -y tox pandoc | |
- name: Building Documentation in html | |
run: | | |
echo "---------------------------------------------------------------------------------------" | |
echo "---------------------------------- Building html --------------------------------------" | |
echo "---------------------------------------------------------------------------------------" | |
tox -e docs | |
echo "Building html was successful! " | |
- name: Store html build result | |
uses: actions/upload-artifact@v3 | |
with: | |
name: documentation-html | |
path: | | |
docs/_build: | |