Skip to content

GitHub Action to send a message to Logz.io.

Notifications You must be signed in to change notification settings

stormxio/logzio-message-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

GitHub Action to send a message to Logz.io. 🔄

This simple action sends a message to Logz.io.

Usage

workflow.yml Example

Place in a .yml file such as this one in your .github/workflows folder. Refer to the documentation on workflow YAML syntax here.

name: Sync Bucket
on: push

jobs:
  deploy:
    runs-on: ubuntu-latest
    
  steps:
   - uses: actions/checkout@master
   
   - name: Send a message to logz.io
     uses: StormX-Inc/logzio-message-action@master
     env:
        LOGZIO_TOKEN: ${{ secrets.LOGZIO_TOKEN }}
        LOG_TYPE: "nginx"
        MESSAGE: "New message"
        MESSAGE_LEVEL: "debug"
        MESSAGE_LABEL: "some label"

Required Environment Variables

Key Value Type Required
LOGZIO_TOKEN The logz.io token. env Yes
LOG_TYPE The log type, eg: nginx. env Yes
MESSAGE The message. env Yes
MESSAGE_LEVEL The message level, eg: error, warn, info, debug etc. env Yes
MESSAGE_LABEL The message label. env No

Required Secret Variables

The following variables should be added as "secrets" in the action's configuration.

Key Value Type Required
LOGZIO_TOKEN Your logz.io token. secret Yes

About

GitHub Action to send a message to Logz.io.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published