Skip to content

Commit

Permalink
Merge pull request #224 from daodaoedu/feat/ci-cd
Browse files Browse the repository at this point in the history
ci: fix notifition description
  • Loading branch information
JohnsonMao authored Jan 13, 2025
2 parents def675c + f25140a commit 4ecd5b9
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/actions/notification/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,6 @@ runs:
COLOR=9868950
fi
DESCRIPTION=${{ env.DESCRIPTION }}
DESCRIPTION=${DESCRIPTION//'\r\n'/'\n'}
DESCRIPTION=${DESCRIPTION//'\r'/'\n'}
PAYLOAD=$(cat <<EOF
{
"avatar_url": "https://raw.githubusercontent.com/daodaoedu/daodao-f2e/main/public/daodao-logo.webp",
Expand All @@ -60,7 +56,7 @@ runs:
"icon_url": "${{ inputs.AUTHOR_ICON_URL }}"
},
"title": ${{ env.TITLE }},
"description": $DESCRIPTION,
"description": ${{ env.DESCRIPTION }},
"color": $COLOR
}
]
Expand Down

0 comments on commit 4ecd5b9

Please sign in to comment.