Skip to content

Commit 0c9e6b1

Browse files
committed
ci: Allow codegen to run via Github Action
1 parent 4f14372 commit 0c9e6b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.ci/make.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ docker build \
142142

143143
echo -e "\033[34;1mINFO: running $product container\033[0m"
144144

145-
# check BUILDKITE env var to enable support for both CI or running locally
146-
if [[ -z "${BUILDKITE+x}" ]]; then
145+
# check CI env vars to enable support for both CI or running locally
146+
if [[ -z "${BUILDKITE+x}" ]] || [[ -z "${CI+x}" ]]; then
147147
docker run \
148148
--volume "$repo:/usr/src/app" \
149149
--volume "$(realpath $repo/../elastic-client-generator-js):/usr/src/elastic-client-generator-js" \

0 commit comments

Comments
 (0)