Updated the Gitea Action to mount the framework at its actual path
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 53s

This commit is contained in:
2026-04-12 06:35:42 +00:00
parent f9d46516c7
commit 54504f5ac2
3 changed files with 95 additions and 2 deletions

View File

@@ -10,7 +10,7 @@ jobs:
container:
image: hugomods/hugo:latest
# Mount deployment target and the framework directly from the host
options: --user root -v /srv/www:/srv/www -v /srv/dev/hugo/wiki:/framework:ro -v /srv/configs:/srv/configs:ro
options: --user root -v /srv/www:/srv/www -v /srv/dev/hugo/wiki:/srv/dev/hugo/wiki:ro -v /srv/configs:/srv/configs:ro
steps:
- name: Checkout Docs Source
@@ -27,7 +27,7 @@ jobs:
DOCS_DIR=$(pwd)
# Copy the read-only framework to a writable build directory
cp -r /framework /tmp/hugo-build
cp -r /srv/dev/hugo/wiki /tmp/hugo-build
cd /tmp/hugo-build
# Remove the symlinks that were copied from the host