Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Nov 20, 2025

The Hugo build workflow was overriding the configured baseURL with GitHub Pages' dynamic output, causing the site to build for https://eclipse-volttron.github.io/ instead of the custom domain https://volttron.org/.

Changes

  • Removed --baseURL "${{ steps.pages.outputs.base_url }}/" flag from .github/workflows/hugo.yaml
  • Build now uses baseURL from hugo.toml and config/_default/config.toml as intended

The CNAME file already contains volttron.org and is copied to the public directory during build. With this change, GitHub Pages will properly recognize and serve the custom domain.

  run: |
    hugo \
      --gc \
-     --minify \
-     --baseURL "${{ steps.pages.outputs.base_url }}/"
+     --minify

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • esm.ubuntu.com
    • Triggering command: /usr/lib/apt/methods/https /usr/lib/apt/methods/https (dns block)
  • github-production-user-asset-6210df.s3.amazonaws.com
    • Triggering command: /usr/bin/curl curl -L -o context.png REDACTED (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

This section details on the original issue you should resolve

<issue_title>The new build does not go to eclipse.org like it did</issue_title>
<issue_description></issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

@github-actions
Copy link

🔍 Preview Build Complete

The site has been built successfully for this PR!

How to preview:

  1. Download the preview artifact from the workflow run
  2. Extract the zip file
  3. Open index.html in your browser to preview the site

Alternative preview methods:

  • Use a local HTTP server: python -m http.server 8000 or npx serve
  • Or use VS Code's Live Server extension

Note: The preview uses the GitHub Pages URL (https://eclipse-volttron.github.io/) as the base URL. Links will work correctly when viewing locally.

Build Details:

Co-authored-by: craig8 <3979063+craig8@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix build deployment to eclipse.org Remove baseURL override in GitHub Actions workflow Nov 20, 2025
Copilot AI requested a review from craig8 November 20, 2025 22:21
@craig8 craig8 marked this pull request as ready for review November 20, 2025 22:22
@craig8 craig8 merged commit 9017893 into main Nov 20, 2025
3 checks passed
@github-actions
Copy link

🔍 Preview Build Complete

The site has been built successfully for this PR!

How to preview:

  1. Download the preview artifact from the workflow run
  2. Extract the zip file
  3. Open index.html in your browser to preview the site

Alternative preview methods:

  • Use a local HTTP server: python -m http.server 8000 or npx serve
  • Or use VS Code's Live Server extension

Note: The preview uses the GitHub Pages URL (https://eclipse-volttron.github.io/) as the base URL. Links will work correctly when viewing locally.

Build Details:

@github-actions
Copy link

🔍 Preview Build Complete

The site has been built successfully for this PR!

How to preview:

  1. Download the preview artifact from the workflow run
  2. Extract the zip file
  3. Open index.html in your browser to preview the site

Alternative preview methods:

  • Use a local HTTP server: python -m http.server 8000 or npx serve
  • Or use VS Code's Live Server extension

Note: The preview uses the GitHub Pages URL (https://eclipse-volttron.github.io/) as the base URL. Links will work correctly when viewing locally.

Build Details:

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

The new build does not go to eclipse.org like it did

2 participants