diff --git a/.gitea/workflows/build.yml b/.gitea/workflows/build.yml index 0774014..173a200 100644 --- a/.gitea/workflows/build.yml +++ b/.gitea/workflows/build.yml @@ -21,8 +21,13 @@ jobs: hugo-version: 'latest' extended: true - - name: Build site + - name: Ensure Output Directory is Writable + run: | + mkdir -p /mnt/hugo_output + chmod -R 777 /mnt/hugo_output # Avoid permission issues + + - name: Build Hugo Site run: hugo --minify --destination /mnt/hugo_output - - name: Set correct permissions - run: chown -R john:gpio /mnt/hugo_output + - name: Verify Output Files + run: ls -lah /mnt/hugo_output