Created
January 27, 2020 06:50
-
-
Save Porrapat/3b128379c29c35f1ad1fc7d93daf4c5c to your computer and use it in GitHub Desktop.
Revisions
-
Porrapat created this gist
Jan 27, 2020 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ # To use : add your slack oauth access api token SLACK_API_OAUTH_ACCESS_TOKEN= # Provide your slack channel SLACK_CHANNEL= # Provide your text TEXT= curl -s -X POST -d "token=$SLACK_API_OAUTH_ACCESS_TOKEN&channel=$SLACK_CHANNEL&text=$TEXT&pretty=1" "https://slack.com/api/chat.postMessage" > /dev/null