This commit is contained in:
@@ -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: |
|
||||||
|
|||||||
Reference in New Issue
Block a user