This commit is contained in:
@@ -20,6 +20,20 @@ jobs:
|
||||
pip3 install --upgrade pip
|
||||
pip3 install mkdocs-material
|
||||
|
||||
- name: Deploy to host-mounted folder
|
||||
run: |
|
||||
# Debug: See if the directory is actually a mount
|
||||
mount | grep /notes || echo "Warning: /notes is not a mount point!"
|
||||
|
||||
# Ensure we can write to it
|
||||
mkdir -p /notes
|
||||
|
||||
# Copy files
|
||||
cp -v -R site/* /notes/
|
||||
|
||||
# List contents to verify they exist in the container context
|
||||
ls -la /notes
|
||||
|
||||
- name: Build site with MkDocs
|
||||
run: |
|
||||
mkdocs build
|
||||
|
||||
Reference in New Issue
Block a user