Monu
Monu

Reputation: 75

CodeMagic Automatic build is not triggered though it receives the webhook from github

Automatic build is not triggered though it receives the webhook from github. Any input would be helpful.

codemagic.yml snippet

ionic-capacitor-android-app-qa:
    name: tulip-fp
    environment:
      node: latest
    triggering:
      events:
        - tag
      branch_patterns:
        - pattern: “uat”
          include: true
          source: true
      tag_patterns:
        - pattern: “*”
          include: true
....

Recent deliveries: enter image description here

Upvotes: 1

Views: 717

Answers (2)

ALEXANDER LOZANO
ALEXANDER LOZANO

Reputation: 2034

In my case I'm only triggering in GitHub when a new tag is released, replace the double quote fix the issue, and the build runs automatically.

Upvotes: 0

Monu
Monu

Reputation: 75

I have worked with #codemagic and here is the solutions -

  1. Change "uat" to 'uat'. Basically use single quote in the pattern
  2. Also make sure in the WebHook configuration in GitHub, "push" trigger is checked.
ionic-capacitor-android-app-qa:
    name: tulip-fp
    environment:
      node: latest
    triggering:
      events:
        - tag
        - push
      branch_patterns:
        - pattern: 'uat'
          include: true
          source: true
      tag_patterns:
        - pattern: '*'
          include: true

Upvotes: 1

Related Questions