init
This commit is contained in:
16
.gitea/workflows/push_to_main.yaml
Normal file
16
.gitea/workflows/push_to_main.yaml
Normal 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
|
||||||
8
action.yaml
Normal file
8
action.yaml
Normal 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
|
||||||
Reference in New Issue
Block a user