more debug
All checks were successful
Build Hugo Site / build (push) Successful in 6s

This commit is contained in:
John 2025-03-09 08:20:10 -05:00
parent 4d699ca394
commit 3803e65456

View File

@ -24,6 +24,8 @@ jobs:
ls -la ls -la
echo "Current directory structure:" echo "Current directory structure:"
find . -type f find . -type f
echo "Mount point check:"
ls -la /data/hugo/public || echo "Mount point not accessible"
- name: Build Hugo Site - name: Build Hugo Site
run: | run: |
@ -33,9 +35,11 @@ jobs:
# Build directly in the workspace # Build directly in the workspace
hugo --minify hugo --minify
# Copy the generated files to the mounted volume echo "Contents of generated public directory:"
cp -r public/* /data/hugo/public/ ls -la public/
# Verify the copy was successful and show permissions echo "Copying files to mounted volume..."
ls -la /data/hugo/ cp -rv public/* /data/hugo/public/
echo "Final contents of mounted volume:"
ls -la /data/hugo/public/ ls -la /data/hugo/public/