Clone a git repo.
- 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.
- Add the Git Clone Repository Step.
- Check out the optional inputs in the Workflow Editor or in the Step documentation.
- activate-ssh-key@4:
run_if: '{{getenv "SSH_RSA_PRIVATE_KEY" | ne ""}}'
- git-clone@8: {}