This commit is contained in:
Bryce Thorup
2024-08-21 07:28:30 -06:00
parent 84ae59cec3
commit c952efedf2
4 changed files with 26 additions and 1 deletions

View File

@@ -0,0 +1,16 @@
name: Push to main
on:
push:
branches: [main]
jobs:
Reset-Version-Tag:
runs-on: debian-bullseye
steps:
- name: Check out repository code
uses: actions/checkout@v3
- run: git tag -d v1 || true
- run: git push --delete origin v1 || true
- run: git tag v1
- run: git push --tags

View File

@@ -1,3 +1,3 @@
# create_listmonk_campaign
create a listmonk campaign if the name of the branch being merged includes "post_XXXXXX"
create a listmonk campaign if the name of the branch being merged includes "post_XXXXXX"

1
action.sh Executable file
View File

@@ -0,0 +1 @@
echo $(git rev-parse --abbrev-ref HEAD)

8
action.yaml Normal file
View File

@@ -0,0 +1,8 @@
name: npm-publish
description: "create a listmonk campaign if the name of the branch being merged includes \"post_XXXXXX\""
author: "Bryce Thorup"
runs:
using: "composite"
steps:
- run: $GITHUB_ACTION_PATH/action.sh
shell: bash