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
parent
2afcfafb1f
commit
756b20ef3c
|
|
@ -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",
|
||||
|
|
|
|||
Loading…
Reference in New Issue