This action sends Twilio voice call.
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.
Name | Required | Description | Default | Possible values |
---|---|---|---|---|
twilio_account_sid | Yes | Twilio account SID | <String> | |
twilio_auth_token | Yes | Twilio auth token | <String> | |
text | Yes | Text that will be send by voice call. | <String> | |
from | Yes | Phone number in your Twilio account to send the voice call from | <String> | |
to | Yes | Phone number to send the voice call to | <String> | |
voice | No | Call voice | alice |
man , woman , alice |
twilio_log_level | No | Log level of the output from twilio call request | debug |
debug , info , warn , error |
name: Twilio
on: push
jobs:
twilio-voice-call:
name: Twilio voice call
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: fabasoad/twilio-voice-call-action@v1
if: success()
with:
text: 'GitHub actions build number ${{ github.run_number }} passed successfully.'
from: '+1(123)4567890'
to: '+1(123)4567809'
twilio_account_sid: ${{ secrets.TWILIO_ACCOUNT_SID }}
twilio_auth_token: ${{ secrets.TWILIO_AUTH_TOKEN }}
Download example.mp3 file to listen.