Skip to content

Commit

Permalink
nit fix bash
Browse files Browse the repository at this point in the history
  • Loading branch information
CCedricYoung committed Feb 20, 2025
1 parent 0f688d2 commit 371d27d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ jobs:
# Get commit hash from main branch
GIT_HASH=$(git rev-parse --short HEAD)
COMMIT_MSG="[skip ci] Update coverage badge and report - ${GIT_HASH}, Coverage: ${COVERAGE}%"
COMMIT_MSG="[skip ci] Update coverage to ${COVERAGE}% for commit ${GIT_HASH}"
# git config --global user.name "circleci-bot"
# git config --global user.email "[email protected]"
Expand All @@ -232,7 +232,7 @@ jobs:
git commit -m "${COMMIT_MSG}" || echo "No changes to commit"
# Push changes if main or override
if [ ${CIRCLE_BRANCH:-} == main || ${OVERRIDE_PAGES:-} == true ]; then
if [[ "${CIRCLE_BRANCH:-}" == main || "${OVERRIDE_PAGES:-}" == true ]]; then
git push origin gh-pages
fi
Expand Down

0 comments on commit 371d27d

Please sign in to comment.