Skip to content

Fix generation of historical spec #2123

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

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]>
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.

1 participant