Skip to content

Commit

Permalink
change name of script
Browse files Browse the repository at this point in the history
  • Loading branch information
cemkiy committed Nov 18, 2019
1 parent 1a01176 commit 4b9389b
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
18 changes: 15 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Notification on push
name: Main

on:
push:
Expand All @@ -11,12 +11,24 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Slack notification
- name: Slack notification success
if: success()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
with:
channel: '#team-devops'
username: 'github'
icon_url: 'https://storage.googleapis.com/slack-images-cyclops/ci/rShq67tG_400x400.png'
icon_url: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
image_url: 'https://storage.googleapis.com/slack-images-cyclops/ci/It_Compiles_Ship_It.png'

- name: Slack notification failure
if: failure()
env:
SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }}
uses: cemkiy/action-islack@master
with:
channel: '#team-devops'
username: 'github'
icon_url: 'https://github.githubassets.com/images/modules/logos_page/GitHub-Mark.png'
image_url: 'https://media.giphy.com/media/njYrp176NQsHS/giphy.gif'
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
[![Actions Status](https://github.com/cemkiy/action-islack/workflows/Main/badge.svg?branch=develop)](https://github.com/cemkiy/action-islack/actions)

# action-islack

You can send slack message easily. islack is supported slack attachments.
Expand Down

0 comments on commit 4b9389b

Please sign in to comment.