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: push:
branches: branches:
- main - main
tags:
- "*"
jobs: jobs:
build: build:
@@ -31,11 +29,19 @@ jobs:
find: "{{branch}}" find: "{{branch}}"
replace: ${{ github.ref }} replace: ${{ github.ref }}
include: "on-site-vtt/module.json" include: "on-site-vtt/module.json"
- name: Pack and release - name: Pack archive
uses: actions/release-action@main uses: montudor/action-zip@v1
with: with:
title: ${{ github.ref_name }} args: zip -r on-site-vtt.zip on-site-vtt
pre_release: false - 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}}" api_key: "${{secrets.RELEASE_TOKEN}}"
files: |-
on-site-vtt/**