Skip to content

aslafy-z/freemobile-sms-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

name: Test
on: push
jobs:
  test:
    runs-on: ubuntu-latest

    steps:
      - 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 }}.