version: 2
jobs:
  build:
    docker:
      - image: circleci/slim-base
    branches:
      ignore:
      - '/slummed\/.*/'
    steps:
      - add-ssh-keys:
          fingerprints:
          - '56:76:54:43:c3:70:31:03:b5:ff:20:89:43:af:a2:48'
      - checkout
      - run:
          name: Create slummed mirror of this branch
          command: |
            if [[ -n "$CIRCLE_BRANCH" ]]; then
              git checkout -b "slummed/$CIRCLE_BRANCH"
              git filter-branch --msg-filter "$PWD"'/git-slum.sh \
                "$(git rev-parse --verify -q "$GIT_COMMIT^" || \
                  git hash-object -t tree /dev/null)" "$GIT_COMMIT"'
              git push -f origin "slummed/$CIRCLE_BRANCH"
            fi

version: 2
jobs:
  build:
    docker:
      - image: circleci/slim-base
    branches:
      ignore:
      - '/slummed\/.*/'
    steps:
      - add-ssh-keys:
          fingerprints:
          - '56:76:54:43:c3:70:31:03:b5:ff:20:89:43:af:a2:48'
      - checkout
      - run:
          name: Create slummed mirror of this branch
          command: |
            if [[ -n "$CIRCLE_BRANCH" ]]; then
              git checkout -b "slummed/$CIRCLE_BRANCH"
              git filter-branch --msg-filter "$PWD"'/git-slum \
                "$(git rev-parse --verify -q "$GIT_COMMIT^" || \
                  git hash-object -t tree /dev/null)" "$GIT_COMMIT"'
              git push -f origin "slummed/$CIRCLE_BRANCH"
            fi

Update CI script for renamed git-slum script
Update CI script for renamed git-slum script
