Add release workflow for building and releasing the Siti Category Thumbnails plugin
This commit is contained in:
23
.gitea/workflows/release.yml
Normal file
23
.gitea/workflows/release.yml
Normal file
@@ -0,0 +1,23 @@
|
|||||||
|
name: Build & Release Plugin
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
release_notes:
|
||||||
|
description: "Optionele release-opmerkingen"
|
||||||
|
required: false
|
||||||
|
push:
|
||||||
|
branches: [ main ]
|
||||||
|
paths:
|
||||||
|
- 'siti-category-thumbnails.php'
|
||||||
|
- 'includes/**'
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
release:
|
||||||
|
uses: roberto/ci-workflows/.gitea/workflows/wp-plugin-release.yml@395f3c7096881d803f8e1f97992c449b74938fbb
|
||||||
|
with:
|
||||||
|
main_file: siti-category-thumbnails.php
|
||||||
|
slug: siti-category-thumbnails
|
||||||
|
release_body: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.release_notes || '' }}
|
||||||
|
secrets:
|
||||||
|
RELEASE_TOKEN: ${{ secrets.RELEASE_TOKEN }}
|
||||||
Reference in New Issue
Block a user