lm test
All checks were successful
Push to main / Reset-Version-Tag (push) Successful in 4s

This commit is contained in:
Bryce Thorup
2024-08-30 15:25:45 -06:00
parent 6ae0b94f12
commit 0ab4f2d278
2 changed files with 10 additions and 5 deletions

View File

@@ -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

View File

@@ -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: