Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 817a0fb8e0
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3054be5f55
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| - name: Normalize language tag for publishing | ||
| id: normalize-lang | ||
| run: echo "tag=$(echo '${{ inputs.language }}' | tr '_' '-' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" | ||
| run: echo "tag=$(echo '${INPUTS_LANGUAGE}' | tr '_' '-' | tr '[:upper:]' '[:lower:]')" >> "$GITHUB_OUTPUT" |
There was a problem hiding this comment.
Expand the language env var before publishing
When build.yaml is run with publish: true, this command writes the literal string ${inputs-language} to steps.normalize-lang.outputs.tag because ${INPUTS_LANGUAGE} is inside single quotes within the shell command substitution. As a result the publish job creates and copies archives under _site/${inputs-language}/<version>/ instead of the requested language such as _site/fr-fr/<version>/, breaking manual/reusable publishes for every language.
Useful? React with 👍 / 👎.
…t configuration