A github action which sends a Whatsapp message when code is pushed to a repository.
🏡 Homepage
- 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: atifazeez77/whatsapp-push-notify-action@master
- name : Run
run: |
echo 'Start!'
👨💻 ATIF AZEEZ
- Github: @atifazeez77
Give a 🌟 if this project helped you!
Copyright © 2020 Atif Azeez.
This project is GNU GPLv3 licensed.