WIP: Switching to one build and one RTD project #218
Workflow file for this run
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: "Pull Request Docs Build" | |
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 | |
- name: Building docs | |
run: | | |
echo "---------------------------------------------------------------------------------------" | |
echo "---------------------------------- Building docs - ------------------------------------" | |
echo "---------------------------------------------------------------------------------------" | |
tox -e docs | |
echo "Building documents was successful! " | |
- name: Store html build result | |
uses: actions/upload-artifact@v3 | |
with: | |
name: anuket-specifications-html | |
path: | | |
_build/html | |