change workflow
Build and Deploy MkDocs / deploy-docs (push) Failing after 1m18s

This commit is contained in:
2026-10-11 10:31:21 +02:00
parent 1928a29e08
commit dfaaff20e3
+8 -5
View File
@@ -14,6 +14,8 @@ jobs:
#image: python:3.11 #image: python:3.11
# This community image has node, git, python3, and pip pre-installed # This community image has node, git, python3, and pip pre-installed
image: catthehacker/ubuntu:runner-22.04 image: catthehacker/ubuntu:runner-22.04
# container runs as a non-root user (usually a user named runner) by default.
option: --user root
volumes: volumes:
- /var/www/git-pages:/var/www/git-pages - /var/www/git-pages:/var/www/git-pages
steps: steps:
@@ -27,13 +29,14 @@ jobs:
- name: Install MkDocs & Plugins - name: Install MkDocs & Plugins
run: | run: |
python -m pip install --upgrade pip #export PATH=/home/runner/.local/bin:$PATH
python -m pip install mkdocs mkdocs-material #python -m pip install --upgrade pip
#python -m pip install --root-user-action=ignore --upgrade pip #pip install mkdocs mkdocs-material
#pip install --root-user-action=ignore mkdocs mkdocs-material python -m pip install --root-user-action=ignore --upgrade pip
pip install --root-user-action=ignore mkdocs mkdocs-material
- name: Build Static Site - name: Build Static Site
run: python -m mkdocs build run: mkdocs build
- name: Deploy to Web Server Folder - name: Deploy to Web Server Folder
run: | run: |