Cloning a Git repository

Description

Clone a Git repository.

Instructions

  1. Add the Activate SSH key (RSA private key) Step. This allows the Git client on the build VM to access private repositories.

  2. Add the Git Clone Repository Step.

Check out other options in the Step documentation or in the Workflow Editor.

bitrise.yml

- activate-ssh-key@4:
    run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@6: {}