Skip to content

Commit

Permalink
🔧 (main.yml): update release condition to include documentation chang…
Browse files Browse the repository at this point in the history
…es (#2283)

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.
  • Loading branch information
MrHinsh authored Aug 12, 2024
2 parents df09d0d + fcf5b19 commit ebb8f6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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";
Expand Down

0 comments on commit ebb8f6d

Please sign in to comment.