This repository has been archived by the owner on Dec 2, 2024. It is now read-only.
add sphinx to requirements.txt #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: docs | |
on: | |
push: | |
branches: ["master"] | |
jobs: | |
build: | |
runs-on: umbuntu | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Python 3.12 | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.12 | |
- name: Install Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
version: latest | |
virtualenvs-create: true | |
virtualenvs-in-project: true | |
- name: Install Dependencies | |
run: | | |
#assume im in the Venv | |
C:\Users\runneradmin\.local\bin\poetry.exe install --no-interaction | |
$act | |
pip install -r docs/source/requirements.txt | |
- name: Build Documentation | |
run: | | |
cd docs/ | |
bash ./build.sh | |
- name: Push docs | |
run: | | |
git config --global user.name 'showierdata9978' | |
git config --global user.email '[email protected]' | |
git commit -am "Update documentation" | |
git push | |