Update .github/workflows/docs.yml
This commit is contained in:
7
.github/workflows/docs.yml
vendored
7
.github/workflows/docs.yml
vendored
@@ -11,13 +11,10 @@ on:
|
|||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
container: python:3.12-slim
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
|
|
||||||
- uses: actions/setup-python@v5
|
|
||||||
with:
|
|
||||||
python-version: '3.12'
|
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pip install mkdocs mkdocs-material
|
run: pip install mkdocs mkdocs-material
|
||||||
|
|
||||||
@@ -27,7 +24,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
cd site
|
cd site
|
||||||
git init
|
git init
|
||||||
git config user.name "github-actions"
|
git config user.name "gitea-actions"
|
||||||
git config user.email "actions@forteapps.net"
|
git config user.email "actions@forteapps.net"
|
||||||
git add .
|
git add .
|
||||||
git commit -m "Deploy docs"
|
git commit -m "Deploy docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user