Skip to content

Commit b3210aa

Browse files
InfoTech.io Botclaude
andcommitted
Fix corporate site build to use module.json configuration
- Update deploy-sites.yml to use Hugo Templates Factory properly - Copy docs as module-content instead of using legacy command-line parameters - Use module.json configuration for consistent builds 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 9e7942f commit b3210aa

1 file changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/deploy-sites.yml

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -191,14 +191,15 @@ jobs:
191191
# Checkout content
192192
git clone https://github.com/info-tech-io/info-tech.git content-corporate
193193
194-
# Build site
194+
# Build site using module.json configuration
195195
cd hugo-templates
196196
chmod +x scripts/build.sh
197-
scripts/build.sh \
198-
--template corporate \
199-
--content ../content-corporate/docs/content \
200-
--base-url "https://info-tech-io.github.io" \
201-
--output ../build-output/corporate
197+
198+
# Copy content as module
199+
cp -r ../content-corporate/docs ./module-content
200+
201+
# Build using module.json configuration
202+
scripts/build.sh --config ./module-content/module.json --output ../build-output/corporate
202203
203204
# Move to root for GitHub Pages
204205
cd ..

0 commit comments

Comments
 (0)