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
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 53s
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user