This action sends a notification containing workflow information to the desired channel.
none
, email
, slack
, msteams
, discord
, telegram
.Add the action to your workflow file:
- name: GAWG Notify
uses: your-username/gawg-notify@v1
with:
messaging_app: 'slack' # or 'discord', 'msteams', 'telegram', 'email', 'none'
artifact_name: 'your-artifact-name'
technology: 'your-technology'
docker: true
self-hosted-runner: false
deployment: 'your-deployment-type'
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}
DISCORD_WEBHOOK_URL: ${{ secrets.DISCORD_WEBHOOK_URL }}
Note: Microsoft Teams notifications are not supported in the free plan. Please upgrade to the premium plan to use this feature.
Note: Telegram notifications are not supported in the free plan. Please upgrade to the premium plan to use this feature.
Note: Email notifications are not supported in the free plan. Please upgrade to the premium plan to use this feature.
Set messaging_app to none if no notification is needed. Example Workflow
- name: GAWG Notify
uses: your-username/gawg-notify@v1
with:
messaging_app: 'none'
artifact_name: 'your-artifact-name'
technology: 'your-technology'
docker: true
self-hosted-runner: false
deployment: 'your-deployment-type'
name: CI
on: [push]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Run GAWG Notify
uses: your-username/gawg-notify@v1
with:
messaging_app: 'slack'
artifact_name: 'my-artifact'
technology: 'nodejs'
docker: true
self-hosted-runner: false
deployment: 'production'
SLACK_CHANNEL: ${{ secrets.SLACK_CHANNEL }}
SLACK_TOKEN: ${{ secrets.SLACK_TOKEN }}