mirror of
https://github.com/joelwmale/webhook-action.git
synced 2024-08-25 08:08:00 +00:00
feature: fix post step
This commit is contained in:
parent
414ae453c9
commit
113290b45d
@ -26,4 +26,3 @@ outputs:
|
||||
runs:
|
||||
using: 'node20'
|
||||
main: 'dist/index.js'
|
||||
post: 'dist/index.js'
|
||||
|
@ -3,11 +3,6 @@ import {http} from './http'
|
||||
import {context} from '@actions/github'
|
||||
|
||||
async function run() {
|
||||
// if its a post job do nothing
|
||||
if (context.job === 'post') {
|
||||
return
|
||||
}
|
||||
|
||||
const url = core.getInput('url')
|
||||
? core.getInput('url')
|
||||
: process.env.WEBHOOK_URL
|
||||
|
Loading…
Reference in New Issue
Block a user