Merge pull request #1816 from balena-os/remove-staging-circleci

Do not build for staging in circleci job
This commit is contained in:
bulldozer-balena[bot] 2021-11-05 15:42:09 +00:00 committed by GitHub
commit ef03cde2f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,11 +62,7 @@ defaults: &defaults
else
export DEPLOY_TO_PRODUCTION=false
fi
if [ "$STAGING_API_TOKEN" != "" ]; then
export DEPLOY_TO_PRODUCTION=${DEPLOY_TO_STAGING}
else
export DEPLOY_TO_STAGING=false
fi
export DEPLOY_TO_STAGING=false
# Create required env vars
export TAG=$(echo ${CIRCLE_BRANCH} | sed 's/[^a-z0-9A-Z_.-]/-/g')
export ARCH=${ARCH}