Download bitrise.yml from external resources

#1

Is there any way to download bitrise.yml file from external resources?

0 Likes

#2

Hi,

Sure! You can follow the same steps as if the bitrise.yml would be in your repo (http://devcenter.bitrise.io/tips-and-tricks/use-bitrise-yml-from-repository/), except add one more step where you download it from any source you want to, right before you’d run it. :slight_smile:

0 Likes

#3

Hello,

Thank you for your answer. But my problem is, i want to download last bitrise.yml via API not manually from web.

For example: If i am logged in i can download bitrise.yml with this URL. Is there any way to download bitrise.yml via API call. Or is it located in the machine that we run workflows.

https://www.bitrise.io/api/app/{APP_SLUG}/config.yml?is_download=1

Thanks.

0 Likes

#4

Ahh, sorry, I thought you want to download it during the build.

For the API: the new API does not have that endpoint yet, but definitely will soon. For this please vote & comment here: Backup workflow via Bitrise API we’ll announce it there when this is available.

There’s still an older API endpoint where you can get the yml, but that’s pretty much deprecated by now and we’ll remove that once the new API endpoint is ready. If you’d need that before the new endpoint is ready, you can find the related guide & docs at: http://devcenter.bitrise.io/troubleshooting/workflow-editor-doesnt-load/

1 Like