diff options
-rw-r--r-- | azure-pipelines.yml | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 7467f3b..2c92594 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -110,7 +110,10 @@ jobs: and( succeeded(), ne(variables.BASE_PULL, True), - eq(variables.BASE_CHANGED, True) + or( + eq(variables.BASE_CHANGED, True), + eq(variables.VENV_CHANGED, True) + ) ) inputs: command: build @@ -150,7 +153,10 @@ jobs: succeeded(), ne(variables['Build.Reason'], 'PullRequest'), ne(variables.BASE_PULL, True), - eq(variables.BASE_CHANGED, True) + or( + eq(variables.BASE_CHANGED, True), + eq(variables.VENV_CHANGED, True) + ) ) inputs: command: push |