A github action which sends a custom Whatsapp message using Twilio bot, forked from https://github.com/ishween/whatsapp-push-notify-action
- Create account in twilio here.
- From your twilio dashboard fetch Account Sid and Auth Token.
- To encrypt them, create new secrets in your repository named
account_sid, auth_token, to_whatsapp_no
and give it's value. - Create a
.github/workflows/whatsapp-push-notify-action.yml
. - Add the following properties to
whatsapp-push-notify-action.yml
file
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- name: whatsapp-notify
id: whatsapp-notify
env:
account_sid: ${{ secrets.account_sid }}
auth_token: ${{ secrets.auth_token }}
to_whatsapp_no: ${{ secrets.to_whatsapp_no }}
uses: khaled-ibtikar/whatsapp-push-notify-action@master
Copyright © 2020 Ishween Kaur.
This project is GNU GPLv3 licensed.