deploy.yaml rework
This commit is contained in:
@@ -1,9 +1,3 @@
|
||||
name: Deploy Docs
|
||||
on:
|
||||
push:
|
||||
branches:
|
||||
- dev
|
||||
|
||||
jobs:
|
||||
build-and-deploy:
|
||||
runs-on: ubuntu-latest
|
||||
@@ -11,17 +5,15 @@ jobs:
|
||||
- name: Checkout Code
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Setup Python
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: '3.x'
|
||||
|
||||
- name: Install Dependencies
|
||||
- name: Install Dependencies
|
||||
run: |
|
||||
pip install -r doc/requirements.txt
|
||||
python3 -m venv .venv
|
||||
.venv/bin/pip install --upgrade pip
|
||||
.venv/bin/pip install -r doc/requirements.txt
|
||||
|
||||
- name: Build Documentation
|
||||
run: mkdocs build
|
||||
run: |
|
||||
.venv/bin/python -m mkdocs build
|
||||
|
||||
- name: Deploy to Gitea Pages
|
||||
uses: peaceiris/actions-gh-pages@v3
|
||||
|
||||
Reference in New Issue
Block a user