If you don't have the ability to set up new deploy keys, and you get this for the -checkout directive, then replace -checkout with
-checkout
- run: command: | git clone --depth 1 https://github.com/whatever/project /where