Skip to content

Conversation

@zecakeh
Copy link
Contributor

@zecakeh zecakeh commented Mar 29, 2025

With the move of the config file, the command in CI did not work as expected anymore.
I am unsure why Hugo didn't complain about the missing config file from the command…

To avoid this problem in the future and simplify the job, we use the default config and add an environment variable for the status which will always take precedence over the config.

This should take care of #2116 for future versions.

I enabled the historical job for every workflow temporarily to check that it builds as expected. To see the fixed historical build, you need to get the artifact from one of the 2 first commits, not from the last one.

Pull Request Checklist

Preview: https://pr2123--matrix-spec-previews.netlify.app

With the move of the config file, the command in CI did not work as
expected anymore.
I am unsure why Hugo actually ignored the missing config file in the
command…

To avoid this problem in the future and simplify the job, we use the
default config and add an environment variable for the status which will
always take precedence over the config.

Signed-off-by: Kévin Commaille <[email protected]>
@zecakeh zecakeh requested a review from a team as a code owner March 29, 2025 20:14
zecakeh added 2 commits March 29, 2025 20:22
Signed-off-by: Kévin Commaille <[email protected]>
Signed-off-by: Kévin Commaille <[email protected]>
Copy link
Member

@richvdh richvdh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

much better, thanks!

@richvdh richvdh merged commit 67743d5 into matrix-org:main May 13, 2025
12 checks passed
@richvdh richvdh linked an issue May 13, 2025 that may be closed by this pull request
@zecakeh zecakeh deleted the fix-historical branch May 13, 2025 16:02
Johennes pushed a commit to Johennes/matrix-spec that referenced this pull request May 30, 2025
With the move of the config file, the command in CI did not work as
expected anymore.
I am unsure why Hugo actually ignored the missing config file in the
command…

To avoid this problem in the future and simplify the job, we use the
default config and add an environment variable for the status which will
always take precedence over the config.

Signed-off-by: Kévin Commaille <[email protected]>
@Johennes Johennes mentioned this pull request Jul 3, 2025
34 tasks
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.

Historical spec builds don't say they're historical

2 participants