This commit is contained in:
@@ -14,6 +14,8 @@ jobs:
|
||||
#image: python:3.11
|
||||
# This community image has node, git, python3, and pip pre-installed
|
||||
image: catthehacker/ubuntu:runner-22.04
|
||||
# container runs as a non-root user (usually a user named runner) by default.
|
||||
option: --user root
|
||||
volumes:
|
||||
- /var/www/git-pages:/var/www/git-pages
|
||||
steps:
|
||||
@@ -27,13 +29,14 @@ jobs:
|
||||
|
||||
- name: Install MkDocs & Plugins
|
||||
run: |
|
||||
python -m pip install --upgrade pip
|
||||
python -m pip install mkdocs mkdocs-material
|
||||
#python -m pip install --root-user-action=ignore --upgrade pip
|
||||
#pip install --root-user-action=ignore mkdocs mkdocs-material
|
||||
#export PATH=/home/runner/.local/bin:$PATH
|
||||
#python -m pip install --upgrade pip
|
||||
#pip install 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
|
||||
run: python -m mkdocs build
|
||||
run: mkdocs build
|
||||
|
||||
- name: Deploy to Web Server Folder
|
||||
run: |
|
||||
|
||||
Reference in New Issue
Block a user