https://github.com/aslafy-z/freemobile-sms-action
Send SMS notification with Free Mobile
https://github.com/aslafy-z/freemobile-sms-action
freemobile github-actions monitoring sms sms-notifications
Last synced: about 2 months ago
JSON representation
Send SMS notification with Free Mobile
- Host: GitHub
- URL: https://github.com/aslafy-z/freemobile-sms-action
- Owner: aslafy-z
- License: mit
- Created: 2020-03-30T20:01:35.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-30T20:51:13.000Z (about 5 years ago)
- Last Synced: 2025-04-11T12:14:28.600Z (about 2 months ago)
- Topics: freemobile, github-actions, monitoring, sms, sms-notifications
- Language: Shell
- Size: 3.91 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GitHub Action: Send SMS notification with Free Mobile
This action sends a SMS to Free Mobile customer using the included free API.
## Inputs
### `freemobile_id`
**Required**. Free Mobile user ID. Must be in form of `freemobile_id: ${{ secrets.freemobile_token }}`.
### `freemobile_token`
**Required**. Free Mobile SMS token. Must be in form of `freemobile_token: ${{ secrets.freemobile_token }}`.
### `message`
**Required**. SMS message to be sent. Must be in form of `message: A wild SMS just appeared.`.
## Example usage
```yaml
name: Test
on: push
jobs:
test:
runs-on: ubuntu-lateststeps:
- name: Test
run: npm run test- name: Notify
if: always()
uses: aslafy-z/freemobile-sms-action@master
with:
freemobile_id: ${{ secrets.freemobile_id }}
freemobile_token: ${{ secrets.freemobile_token }}
message: |
${{ github.repository }}@${{ github.ref }} result: ${{ job.status }}.
```