A github action which notifies a Flock channel when code is pushed to a repository.
๐ Homepage
- Create a new incoming webhook for your channel
- Copy the incoming webhook url
- Create a new secret in your repository named
WEBHOOK
and give it's value the webhook url. - Add this action to your workflow.
- Set the environment variable as shown in the example below
on: push
jobs:
job1:
runs-on: ubuntu-latest
name: "Update Job"
steps:
- name: "Greeting step"
uses: "abhishekr700/push-flock-notify@master"
env:
WEBHOOK: ${{ secrets.WEBHOOK }}
๐ค Abhishek Ranjan
- Github: @abhishekr700
Give a โญ๏ธ if this project helped you!
Copyright ยฉ 2020 Abhishek Ranjan.
This project is MIT licensed.