updated workflow
main.yml / New push to repo (push) Failing after 2s
main.yml / New push to repo (push) Failing after 2s
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
@@ -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
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "slack-github-action",
|
||||
"version": "1.1.0",
|
||||
"version": "1.3.0",
|
||||
"description": "",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
|
||||
Reference in New Issue
Block a user