Feature: Add dynamic edit URLs and custom navigation menu
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 22s
All checks were successful
deploy-docs / build-and-deploy (push) Successful in 22s
This commit is contained in:
@@ -29,7 +29,7 @@ jobs:
|
||||
rm -rf content static
|
||||
|
||||
# Create real folders for the build
|
||||
mkdir -p content static
|
||||
mkdir -p content static config/_default
|
||||
|
||||
# Copy the new content from the docs repository
|
||||
cp -r $DOCS_DIR/* content/
|
||||
@@ -40,6 +40,12 @@ jobs:
|
||||
rm -rf content/static
|
||||
fi
|
||||
|
||||
# Move dynamic config overrides (e.g. menus.en.toml, params.toml) if they exist
|
||||
if [ -d "content/config/_default" ]; then
|
||||
cp -r content/config/_default/* config/_default/
|
||||
rm -rf content/config
|
||||
fi
|
||||
|
||||
# Clean git metadata
|
||||
rm -rf content/.git content/.gitea
|
||||
|
||||
|
||||
Reference in New Issue
Block a user