From fcf5b19c0bbd576286ab142b217aa139b91dc681 Mon Sep 17 00:00:00 2001 From: "Martin Hinshelwood nkdAgility.com" Date: Mon, 12 Aug 2024 14:41:54 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20(main.yml):=20update=20release?= =?UTF-8?q?=20condition=20to=20include=20documentation=20changes?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The release condition now checks if either the source code or documentation has changed. This ensures that a new release is triggered not only for code changes but also for updates to the documentation, improving the deployment process. --- .github/workflows/main.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 17b0dfa38..8be65cbf5 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -116,7 +116,7 @@ jobs: $Ring = "Preview"; $WingetApplicationId = "nkdagility.azure-devops-migration-tools.Preview"; $docs_deploy_folder = "./azure-devops-migration-tools/preview/"; - $RunRelease = ('${{ steps.filter.outputs.src }}' -eq 'true') + $RunRelease = (('${{ steps.filter.outputs.src }}' -eq 'true') -or ('${{ steps.filter.outputs.docs }}' -eq 'true') ) } default { $Ring = "Canary";