Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 593 Bytes

ssh-and-clone.md

File metadata and controls

19 lines (13 loc) · 593 Bytes

Cloning the repository

Description

Clone a git repo.

Instructions

  1. Make sure that the Workflow has 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 the optional inputs in the Workflow Editor or in the Step documentation.

bitrise.yml

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