Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 3 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 (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2020-03-30T20:51:13.000Z (almost 5 years ago)
- Last Synced: 2024-04-18T04:13:47.928Z (9 months ago)
- Topics: freemobile, github-actions, monitoring, sms, sms-notifications
- Language: Shell
- Size: 3.91 KB
- Stars: 6
- Watchers: 3
- Forks: 2
- 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 }}.
```