Skip to content

Commit

Permalink
Update update_index.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
ccbaumler authored Mar 1, 2024
1 parent 337d6b1 commit d04ff73
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/update_index.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
$diff = git diff --name-only HEAD^ HEAD
# Check if a markdown file and only a markdown file in the docs/ directory has been added or deleted
$SourceDiff = $diff | Where-Object { $_ -match '^docs/' -and $_ -like '*.md' }
$SourceDiff = $diff | Where-Object { $_ -match '^A' -or $_ -match '^D' and $_ -match '^docs/' -and $_ -match '*.md' }
$HasDiff = $SourceDiff.Length -gt 0
# Set the output named "docs_changed"
Expand Down

0 comments on commit d04ff73

Please sign in to comment.