diff --git a/.github/workflows/apim-prod.yml b/.github/workflows/apim-prod.yml index 315c0f3..bc81ff0 100644 --- a/.github/workflows/apim-prod.yml +++ b/.github/workflows/apim-prod.yml @@ -1,12 +1,9 @@ name: Deploy_To_PROD_APIM_On_Push +# Runs when a Release is published from GitHub UI on: - push: - branches: - - main - paths: - - "service/**" - - ".github/workflows/apim-prod.yml" + release: + types: [published] jobs: validate-deploy-apim: