Skip to content
This repository was archived by the owner on Jun 22, 2024. It is now read-only.

Commit 4b4e395

Browse files
test [deploy] and outputting some debug info
1 parent ca90523 commit 4b4e395

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

.circleci/config.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ jobs:
124124
command: |
125125
export SELENIUM_VERSION=$(grep selenium-server Base/Dockerfile | sed 's/.*-\([^-]*\)\.jar \\/\1/' | head -n 1)
126126
echo "Prepare workflow environment variables"
127-
echo 'export BRANCH="$SELENIUM_VERSION"' >> $BASH_ENV
127+
echo 'export BRANCH=$SELENIUM_VERSION' >> $BASH_ENV
128128
echo 'export GITHUB_REPO="$CIRCLE_PROJECT_REPONAME"' >> $BASH_ENV
129129
echo 'export GITHUB_USER="$CIRCLE_PROJECT_USERNAME"' >> $BASH_ENV
130130
echo 'export BUILD_DATE=$(date '+%Y%m%d')' >> $BASH_ENV
@@ -146,6 +146,9 @@ jobs:
146146
name: "Check if branch is deployable (contains [deploy] in commit msg on $DEPLOY_BRANCH"
147147
command: |
148148
echo "BRANCH =" $BRANCH
149+
echo "BUILD_DATE = " $BUILD_DATE
150+
echo "BUILD_ARGS = " $BUILD_ARGS
151+
echo "GITHUB_REPO = " $GITHUB_REPO
149152
export CI_DEPLOY=`git log --format=oneline -n 1 | grep '\[deploy\]'` && echo "$CI_DEPLOY"
150153
if [ -z "$CI_DEPLOY" ] || [ "$CIRCLE_BRANCH" != "$DEPLOY_BRANCH" ]; then
151154
echo "Cancelling run. Pass [deploy] in commit message on $DEPLOY_BRANCH to deploy"

0 commit comments

Comments
 (0)