diff --git a/.gitea/workflows/release.yml b/.gitea/workflows/release.yml new file mode 100644 index 0000000..9ff0f31 --- /dev/null +++ b/.gitea/workflows/release.yml @@ -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 }}