updated workflow
main.yml / New push to repo (push) Failing after 2s

This commit is contained in:
Steve Gill
2020-10-29 14:16:44 -07:00
parent da5a8e8d94
commit 4523662791
4 changed files with 11 additions and 9 deletions
+4 -4
View File
@@ -1,12 +1,12 @@
on: [push]
jobs:
hello_world_job:
new_push_job:
runs-on: ubuntu-latest
name: A job to say hello
name: New push to repo
steps:
- name: Hello world action step
id: hello
- name: Publish to slack
id: slack
uses: stevengill/[email protected]
with:
channel-id: 'CTAAHRA79'
+3 -1
View File
@@ -1 +1,3 @@
# slack-github-action
# slack-github-action
Send a github payload to Slack's workflow builder. This package also accepts a BotToken from Slack to post a message to specific channel or person in Slack.
+3 -3
View File
@@ -1,5 +1,5 @@
name: 'Hello World'
description: 'Greet someone and record the time'
name: 'Slack Push'
description: 'Publish a message in a channel or send the github payload to workflow builder'
inputs:
channel-id: # channel id to post message when using bot token
description: 'Slack channel ID where message will be posted. Needed if using bot token'
@@ -9,7 +9,7 @@ inputs:
required: false
outputs:
time: # id of output
description: 'The time we greeted you'
description: 'The time'
runs:
using: 'node12'
main: 'index.js'
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "slack-github-action",
"version": "1.1.0",
"version": "1.3.0",
"description": "",
"main": "index.js",
"scripts": {