Skip to content
message-circle

GitHub Action

Send SMS notification with Free Mobile

v0.1.0 Latest version

Send SMS notification with Free Mobile

message-circle

Send SMS notification with Free Mobile

This action sends a SMS to Free Mobile customer using the included free API

Installation

Copy and paste the following snippet into your .yml file.

              

- name: Send SMS notification with Free Mobile

uses: aslafy-z/freemobile-sms-action@v0.1.0

Learn more about this action in aslafy-z/freemobile-sms-action

Choose a version

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