Running deployment without tests?


#1

I’m trying to fire a circle build that will skip the tests and just deploy the code. Tests are run on every push, but we want to have a separate command to do the deploy the code. It’s an iOS app, so the stakes are low because the deployment just uploads to the iTunes Connect.

I’ve updated my test script to exit early for this type of build, but I’m finding that the deployment script, defined in the deployment section, is never run. Nor do I see the deployment section in the Circle build page.

How do I ensure that deployments are run?

My deployment section looks like this:

deployment:
  adhoc:
    branch: /.*/
    commands:
      - ./scripts/circle-deploy.sh

#2