diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 79cc9f8..72382a8 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -27,11 +27,15 @@ jobs: - name: Build Hugo Site run: | - # Build directly in the workspace, then copy to the mounted volume + # Create the target directory if it doesn't exist + mkdir -p /data/hugo/public + + # Build directly in the workspace hugo --minify # Copy the generated files to the mounted volume cp -r public/* /data/hugo/public/ - # Verify the copy was successful + # Verify the copy was successful and show permissions + ls -la /data/hugo/ ls -la /data/hugo/public/