This action sends Twilio voice call.
OS | |
---|---|
Windows | ✅ |
Linux | ✅ |
macOS | ✅ |
Sign up to Twilio official web page. Then register a new
number to use it as from
parameter.
If you use free trial account you have to add verified phone number
to use it as to
parameter. Account SID and Auth token you can find on a Dashboard
page.
- uses: fabasoad/twilio-voice-call-action@v1
with:
# (Required) Twilio Account SID.
twilio_account_sid: "${{ secrets.TWILIO_ACCOUNT_SID }}"
# (Required) Twilio Auth token.
twilio_auth_token: "${{ secrets.TWILIO_AUTH_TOKEN }}"
# (Required) Text that will be sent by voice call.
text: "GitHub actions build number ${{ github.run_number }} passed successfully."
# (Required) Phone number in your Twilio account to send the voice call from.
from: '+1(123)4567890'
# (Required) Phone number to send the voice call to.
to: '+1(123)4567809'
# (Optional) Call voice. Possible values: man, woman, alice. Defaults to "alice".
voice: "alice"
# (Optional) Twilio log level. Defaults to "debug".
twilio_log_level: "debug"
None.
Download example.mp3 file to listen.