Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New custom message #15

Open
dceldran opened this issue Dec 27, 2024 · 0 comments
Open

New custom message #15

dceldran opened this issue Dec 27, 2024 · 0 comments

Comments

@dceldran
Copy link

Hi,

It would be possible to add a custom message that sends to discord notification in the script third parameter? For example in my case i use gitlab ci to install in my production/sandbox environments. In case of production environments it triggers when i create a new tag, for example v1.0.5 and i add a message into the tag explaining the new features/fixes of that version of my app (i use that message as changelog). After the deployment is finished i want to send discord notification to tell all the team that the update is completed. I know that gitlab has the predefined variable CI_COMMIT_TAG_MESSAGE that contains the tag message and i like to print this message inside discord notification because all my team can see the changelog of that version.

Something like ./send.sh success $WEBHOOK_URL $CI_COMMIT_TAG_MESSAGE

And maybe it's also useful to some other users to can print a custom message as third parameter.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant