Skip to content

Commit

Permalink
Update notify-slack-on-new-file.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mkiser authored Dec 20, 2024
1 parent d15c492 commit 74892ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/notify-slack-on-new-file.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
if git rev-parse HEAD^ >/dev/null 2>&1; then
NEW_FILES=$(git diff --diff-filter=A --name-only HEAD^ HEAD _posts/)
if [[ -n "$NEW_FILES" ]]; then
MESSAGE="New files added to _posts:\n"
MESSAGE="WTF just happened today?\n"
for FILE in $NEW_FILES; do
URL="https://github.com/mkiser/WTFJHT/blob/master/${FILE}"
MESSAGE+="<${URL}|${FILE}>\n"
Expand Down

0 comments on commit 74892ca

Please sign in to comment.