Skip to content

Commit

Permalink
Format publish notification message
Browse files Browse the repository at this point in the history
  • Loading branch information
hamikhambardzumyan committed Oct 3, 2024
1 parent 3629a3b commit 80d0dcc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Publish to NPM
on:
pull_request:
types:
- closed
- closed
branches:
- main
- main
jobs:
build:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -32,7 +32,7 @@ jobs:
VERSION=$(jq -r '.version' dist/package.json)
VERSION_URL="https://www.npmjs.com/package/@geneui/tokens/v/$VERSION"
MESSAGE="@channel\nExciting news! New version [$VERSION]($VERSION_URL) of @geneui/tokens is published with new features and improvements! on NPM"
MESSAGE="@channel\nExciting news 🚀\n The new version [$VERSION]($VERSION_URL) of the **@geneui/tokens** is published with new features and improvements! on NPM"
curl -X POST -H "Content-Type: application/json" -d "{\"text\": \"$MESSAGE\", \"username\": \"NPM\", \"icon_url\": \"https://static-production.npmjs.com/b0f1a8318363185cc2ea6a40ac23eeb2.png\"}" $COMMUNITY_NOTIFICATION_CHANNEL_API_ENDPOINT
- name: 🚀 Run bump up commit
Expand Down

0 comments on commit 80d0dcc

Please sign in to comment.