This commit is contained in:
@@ -1,8 +1,6 @@
|
||||
|
||||
git pull
|
||||
git log
|
||||
message="$(git log)"
|
||||
$message
|
||||
if [[ $message == *"__post__"* ]]; then
|
||||
"It's there!"
|
||||
curl -u "$INPUT_LISTMONK_USER:$LISTMONK_PASS" -X GET 'https://mailer.tarupgard.com/api/campaigns?page=1&per_page=100'
|
||||
fi
|
||||
|
||||
|
||||
@@ -1,6 +1,13 @@
|
||||
name: npm-publish
|
||||
description: "create a listmonk campaign if the name of the branch being merged includes \"__post__XXXXXX\"."
|
||||
description: 'create a listmonk campaign if the name of the branch being merged includes "__post__XXXXXX".'
|
||||
author: "Bryce Thorup"
|
||||
inputs:
|
||||
listmonk_user:
|
||||
description: Username for interacting with listmonk
|
||||
required: true
|
||||
listmonk_pass:
|
||||
description: Password for interacting with listmonk
|
||||
required: true
|
||||
runs:
|
||||
using: "composite"
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user