Awesome
Github Actions x LaMetric
Send notification to your LaMetric using Github Actions
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
3 - Select a default icon and default name
4 - Set communication type to Push
5 - Click on bottom button Next
6 - Fill the form.
!!!IMPORTANT!!! : Set App visibility to PRIVATE
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)
12 - Done!
License
The Dockerfile and associated scripts and documentation in this project are released under the MIT License.