fix: trigger release workflow on published event

In Gitea Actions, the release event fires 'published' when a release is created via the UI, not 'created' (which only fires for drafts). Using 'created' meant the workflow never ran.
This commit is contained in:
2026-06-15 16:41:56 +08:00
parent b5afa8e9f3
commit 4dad97fcbf
+1 -1
View File
@@ -2,7 +2,7 @@ name: Build and Deploy
on:
release:
types: [created]
types: [published]
jobs:
build: