Skip to content

Commit 0c2e867

Browse files
committed
Updated
1 parent 4d22c31 commit 0c2e867

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/release-to-slack.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ jobs:
1111
env:
1212
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
1313
run: |
14-
curl -sf -X POST -H 'Content-type: application/json' --data '{
15-
"text": "*New release: ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}*
16-
${{ github.event.release.html_url }}"
17-
}' "$SLACK_WEBHOOK_URL"
14+
curl -sf -X POST -H 'Content-type: application/json' \
15+
--data '{
16+
"text": "*New release: ${{ github.event.repository.name }} ${{ github.event.release.tag_name }}*\n${{ github.event.release.html_url }}"
17+
}' \
18+
"$SLACK_WEBHOOK_URL"

0 commit comments

Comments
 (0)