Skip to content

Send notification to your LaMetric using Github Actions

License

Notifications You must be signed in to change notification settings

pgrimaud/action-lametric

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

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Github Actions x LaMetric

lametric

Send notification to your LaMetric using Github Actions

Demo of action

Usage

To use the action simply add the following lines to your workflow.yml file.

...
  steps:
      - uses: actions/checkout@v2
      - uses: pgrimaud/action-lametric@v1
        env:
            LAMETRIC_ACCESS_TOKEN: ${{ secrets.LAMETRIC_ACCESS_TOKEN }}
            LAMETRIC_PUSH_URL: ${{ secrets.LAMETRIC_PUSH_URL }}
            NOTIFICATION_TEXT: ${{ secrets.NOTIFICATION_TEXT }} # optional
            NOTIFICATION_ICON: ${{ secrets.NOTIFICATION_ICON }} # optional

LaMetric configuration

1 - Create a LaMetric developer account here : https://developer.lametric.com/

2 - Create a new INDICATOR APP

LaMetric Indicator App

3 - Select a default icon and default name

4 - Set communication type to Push

Communication type

5 - Click on bottom button Next

6 - Fill the form.

!!!IMPORTANT!!! : Set App visibility to PRIVATE

image

7 - Save and publish app

8 - Get Push URL from LaMetric App and set it to secret var LAMETRIC_PUSH_URL in your repository

9 - Get Access token from LaMetric App and set it to secret var LAMETRIC_ACCESS_TOKEN in your repository

10 - Download App on your LaMetric

11 - Active notify on your LaMetric app (optional: choose a sound for notification)

image

12 - Done!

License

The Dockerfile and associated scripts and documentation in this project are released under the MIT License.

About

Send notification to your LaMetric using Github Actions

Resources

License

Stars

Watchers

Forks

Packages

No packages published