Skip to content

Commit

Permalink
Create docs.yml
Browse files Browse the repository at this point in the history
Signed-off-by: ShowierData9978 <[email protected]>
  • Loading branch information
showierdata9978 authored Nov 6, 2023
1 parent 527b92b commit d927b48
Showing 1 changed file with 43 additions and 0 deletions.
43 changes: 43 additions & 0 deletions .github/workflows/docs.yml
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




0 comments on commit d927b48

Please sign in to comment.