-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: ShowierData9978 <[email protected]>
- Loading branch information
1 parent
527b92b
commit d927b48
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
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 | ||
|
||
|
||
|
||
|