Skip to content

[CI] Fix Hugo preview environment for PR deployments#1024

Draft
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-hugo-environment-configuration
Draft

[CI] Fix Hugo preview environment for PR deployments#1024
Copilot wants to merge 2 commits intomasterfrom
copilot/fix-hugo-environment-configuration

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented May 10, 2026

Notes for Reviewers

This PR fixes #

  • Switches the pull request preview workflow to npm run build:preview, so preview deployments use the repository's Hugo preview configuration (-e dev -DFE) instead of a production-style build.
  • Preserves the preview-only HUGO_PREVIEW behavior and robots.txt blocking for deployed PR previews.
  • Removes accidentally generated public-preview/ artifacts from this branch.

Signed commits

  • Yes, I signed my commits.

Copilot AI and others added 2 commits May 10, 2026 00:51
Agent-Logs-Url: https://github.com/layer5io/docs/sessions/701563ca-c96f-420e-909e-20db601547da

Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
Agent-Logs-Url: https://github.com/layer5io/docs/sessions/701563ca-c96f-420e-909e-20db601547da

Co-authored-by: hortison <160366376+hortison@users.noreply.github.com>
@github-actions
Copy link
Copy Markdown

🚀 Preview deployment: https://layer5io.github.io/docs/pr-preview/pr-1024/

Note: Preview may take a moment (GitHub Pages deployment in progress). Please wait and refresh. Track deployment here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants