fix(ci): use bash instead of sh for generate-api-docs.sh

The script uses bash-specific syntax (function, local, [[ ]]), but
package.json invoked it with sh. On Ubuntu CI runners sh is dash,
which rejects function keyword. Matches the script's #\!/bin/bash shebang.
clean-squash
Jason Stirnaman 2026-03-13 23:41:33 -05:00
parent 2afcfafb1f
commit 756b20ef3c
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@
"docs:add-placeholders": "node scripts/docs-cli/docs-cli.js add-placeholders",
"docs:audit": "node scripts/docs-cli/docs-cli.js audit",
"docs:release-notes": "node scripts/docs-cli/docs-cli.js release-notes",
"build:api-docs": "cd api-docs && sh generate-api-docs.sh",
"build:api-docs": "cd api-docs && bash generate-api-docs.sh",
"build:api-docs:scripts": "tsc --project api-docs/scripts/tsconfig.json",
"build:pytest:image": "docker build -t influxdata/docs-pytest:latest -f Dockerfile.pytest .",
"build:agent:instructions": "node ./helper-scripts/build-agent-instructions.js",