Cloning another private repo in the build

I totally forgot to include the config file, sorry about that! Here’s the snippet of the file:

version: 2

defaults: &defaults
  working_directory: ~/my-app-backend
  docker:
    - image: circleci/ruby:2.5.1-stretch-browsers
      environment:
        BUNDLE_JOBS: 4
        BUNDLE_RETRY: 3
        BUNDLE_PATH: vendor/bundle
        RAILS_ENV: test
    - image: circleci/postgres:9.6.8-alpine-ram
      environment:
        POSTGRES_USER: my-app-backend
        POSTGRES_DB: my-app-backend_test
        POSTGRES_PASSWORD: ""
run_feature_tests:
    <<: *defaults
    steps:
      - checkout
      - attach_workspace:
          at: ~/my-app-backend
      - add_ssh_keys:
          fingerprints:
            - "<here's the finger print>"
      - run:
          name: Clone frontend repository
          command: >-
            GIT_SSH_COMMAND='ssh -i ~/.ssh/id_rsa_fingerprint'
            git clone git@github.com:user/my-app-frontend.git ~/my-app-frontend
1 Like