Skip to content

Codemagic.yaml how to run script only if version.txt has change then only #1306

Closed Answered by himesh-cm
abhiddreambolix asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @abhiddreambolix,
You can do something like this, you can read more about it here.

workflows:
  sample-workflow:
    name: Sample App workflow
    triggering:
      events:
        - push
    when:
      changeset:
        includes:
          - 'path/to/version.txt'

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
9 replies
@himesh-cm
Comment options

@abhiddreambolix
Comment options

@abhiddreambolix
Comment options

@himesh-cm
Comment options

@abhiddreambolix
Comment options

Answer selected by himesh-cm
Comment options

You must be logged in to vote
1 reply
@himesh-cm
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
misc for misc queries
2 participants