Update sonatype-release trigger (#132)

Switching to using release drafter means the Releases are created early but in a draft mode. This somehow doesn't trigger this action, which was a good thing. However, when the release was published it didn't trigger the workflow, meaning the release wasn't published.
This commit is contained in:
Paul Campbell 2020-06-20 23:00:18 +01:00 committed by GitHub
parent 42dde29e3e
commit 150740ca89
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2,7 +2,7 @@ name: Deploy to Sonatype Nexus
on:
release:
types: [created]
types: [published]
jobs:
deploy: