Skip to content

Commit

Permalink
only trigger build if docs/ has been modified
Browse files Browse the repository at this point in the history
  • Loading branch information
Snell1224 committed Feb 5, 2025
1 parent 56f03ec commit 05a6751
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,9 @@ on:
push:
paths:
- 'docs/**' # Trigger for changes in the docs directory
- '**/*.rst' # Trigger for any RST files
pull_request:
paths:
- 'docs/**' # Same triggers for pull requests
- '**/*.rst'

# convert all existing .man under ldms/ to .rst
env:
Expand Down Expand Up @@ -50,7 +48,6 @@ jobs:
done
fi
done
echo "All man files have been converted."
echo "Cleaning up white spaces and empty lines."
find docs/ -type f -exec sed -i -e 's/^[ \t]*\t/\t/' -e ':a; /^\s*$/{$d; N; ba}' {} +
find docs/ -type f -exec sed -i -e 's/[[:space:]]\+$//' {} +
Expand Down

0 comments on commit 05a6751

Please sign in to comment.