The args
represent the recipient and the contents of the message.
For example:
workflow "Send SMS On Push" {
on = "push"
resolves = ["notification"]
}
action "notification" {
uses = "iyanuashiri/twilio-sms-action@master"
secrets = [
"TWILIO_ACCOUNT_SID",
"TWILIO_AUTH_TOKEN",
"TWILIO_CALLER_ID",
"RECIPIENT_NUMBER"
]
args = "New pull on $GITHUB_REPOSITORY from $GITHUB_ACTOR."
}
will send New pull on $GITHUB_REPOSITORY from $GITHUB_ACTOR
to $RECIPIENT_NUMBER
.
`