From 21e25aa5db85f654349dff04229338f11490daed Mon Sep 17 00:00:00 2001 From: Tom Close Date: Wed, 29 May 2024 15:55:26 +0930 Subject: [PATCH] fixed event triggers for ci-cd --- .github/workflows/ci-cd.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci-cd.yml b/.github/workflows/ci-cd.yml index e1b5cd3..5928dbc 100644 --- a/.github/workflows/ci-cd.yml +++ b/.github/workflows/ci-cd.yml @@ -8,12 +8,14 @@ name: CI/CD on: push: - branches: [ master ] - tags: [ '*' ] + branches: [ main, develop ] pull_request: - branches: - - master - - develop + branches: [ main, develop ] + release: + types: [published] + repository_dispatch: + types: [create-release] + env: MRTRIX_HOME: /opt/mrtrix3