Run multiple workflows on git tag?

Hi all,

I’d like to run two different workflows at the same time for a git tag: one workflow which builds a certain iOS scheme and puts it on TestFlight, and another workflow which builds a different iOS scheme and puts it on HockeyApp for internal testing. (The different schemes use different signing credentials). Is it possible to set that up?

Thanks!

Hi @nick-thompson,

the easiest way would be to solve this in the same workflow (1 xcode-archive step before TestFlight deploy, another one xcode-archive step before HockeyApp deploy).

If you need to split these deploys into multiple workflows, i would recommand to:

  • define a _setup utility workflow to git-clone your project (activate-ssh-key, git-clone, …)
  • define a utility workflow which archives your project and deploys to TestFlight (_testflight)
  • define a utility workflow which archives your project and deploys to HockeyApp (_hockeyapp)
  • if you want to deploy to TestFlight without HockeyApp deploy, define a workflow (testfligth), which runs the _setup and the _testflight workflows
  • if you want to deploy to HockeyApp without TestFlight deploy, define a workflow (hockeyapp), which runs the _setup and the _hockeyapp workflows
  • to run both, define a workflow deploy which runs the _setup, _testflight and _hockeyapp workflows
1 Like

Thank you @godreikrisztian! Doing it in the same workflow is great.

1 Like