Preparation for main-pipeline

This commit is contained in:
Alexander
2023-12-11 13:47:49 +01:00
parent f9fefaf404
commit 402c6da5df

View File

@@ -5,8 +5,6 @@ on:
push:
branches:
- main
tags:
- "*"
jobs:
build:
@@ -31,11 +29,19 @@ jobs:
find: "{{branch}}"
replace: ${{ github.ref }}
include: "on-site-vtt/module.json"
- name: Pack and release
uses: actions/release-action@main
- name: Pack archive
uses: montudor/action-zip@v1
with:
title: ${{ github.ref_name }}
pre_release: false
args: zip -r on-site-vtt.zip on-site-vtt
- name: publish release
uses: https://gitea.aweleczka.de/actions/release-action@main
with:
title: dev-${{ steps.date.outputs.date }}
tag_name: dev-${{ steps.date.outputs.date }}
files:
- "LICENSE.txt"
- "README.md"
- "on-site-vtt/module.json"
- "on-site-vtt.zip"
pre_release: true
api_key: "${{secrets.RELEASE_TOKEN}}"
files: |-
on-site-vtt/**