Storing bitrise.yml and your projects in separate repositories

workflow
#1

Hi,

I’m trying to put the Bitrise.yml file in a separate repository. I followed the steps in the documentation but these are not so specific about how should we write the scripts for cloning the second repository and about how starting the workflow with the cloned YML file from the new repo.

This is the documentation I followed:

“You have to set up a simple workflow on Bitrise which contains a Git Clone Repository Step and two Script Steps. The Git Clone Repository Step clones your project’s repo (repo A), the first Script Step clones the yml repository (from repo B), and the second Script Step starts running the workflow specified in your yml.”
from -> (https://devcenter.bitrise.io/tips-and-tricks/sharing-and-storing-workflows-among-multiple-apps/#storing-bitriseyml-and-your-projects-in-separate-repositories)

Could someone help me with the right way of writing those scripts?

  1. For cloning a second repo
  2. For running the workflow specified in the yml

Thanks in advance

0 Likes