This commit is contained in:
@@ -1,8 +1,6 @@
|
|||||||
|
|
||||||
git pull
|
|
||||||
git log
|
|
||||||
message="$(git log)"
|
message="$(git log)"
|
||||||
$message
|
|
||||||
if [[ $message == *"__post__"* ]]; then
|
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
|
fi
|
||||||
|
|
||||||
|
|||||||
@@ -1,6 +1,13 @@
|
|||||||
name: npm-publish
|
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"
|
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:
|
runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
|
|||||||
Reference in New Issue
Block a user