This commit is contained in:
parent
4d699ca394
commit
3803e65456
@ -24,6 +24,8 @@ jobs:
|
||||
ls -la
|
||||
echo "Current directory structure:"
|
||||
find . -type f
|
||||
echo "Mount point check:"
|
||||
ls -la /data/hugo/public || echo "Mount point not accessible"
|
||||
|
||||
- name: Build Hugo Site
|
||||
run: |
|
||||
@ -33,9 +35,11 @@ jobs:
|
||||
# Build directly in the workspace
|
||||
hugo --minify
|
||||
|
||||
# Copy the generated files to the mounted volume
|
||||
cp -r public/* /data/hugo/public/
|
||||
echo "Contents of generated public directory:"
|
||||
ls -la public/
|
||||
|
||||
# Verify the copy was successful and show permissions
|
||||
ls -la /data/hugo/
|
||||
echo "Copying files to mounted volume..."
|
||||
cp -rv public/* /data/hugo/public/
|
||||
|
||||
echo "Final contents of mounted volume:"
|
||||
ls -la /data/hugo/public/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user