Earthquakes Action is Github Action that sends SMS when specified earthquakes happened.
- Twilio trial or upgraded account.
- Public or private Github repo.
- Fork this repo.
- If you have trial twilio account, you should specify verified gsm numbers for sending sms.
- Go to your forked repo's "Settings" tab and navigate to "Secrets" from left sidebar.
- Create secrets according to your twilio account information:
MSISDN_RECEIVERS_DELIMITED_WITH_SEMICOLON=+905311234567;+905531234567
MSISDN_SENDER=+10987654321
TWILIO_ACCOUNT_SID=AC123456ytfd3123456ytre12345612345
TWILIO_AUTH_TOKEN=7f123456ab56331cd245412312312356
# Criteria parameters
CITIES_DELIMITED_WITH_SEMICOLON=BINGOL;BALIKESIR # Or * character for all cities
MIN_MAGNITUDE=4.0
# for debugging purposes
ACTIONS_STEP_DEBUG=true
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.