From 150740ca894d48947af4598b59fcad652053aa95 Mon Sep 17 00:00:00 2001 From: Paul Campbell Date: Sat, 20 Jun 2020 23:00:18 +0100 Subject: [PATCH] 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. --- .github/workflows/sonatype-deploy.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/sonatype-deploy.yml b/.github/workflows/sonatype-deploy.yml index 192bf3c..05a73de 100644 --- a/.github/workflows/sonatype-deploy.yml +++ b/.github/workflows/sonatype-deploy.yml @@ -2,7 +2,7 @@ name: Deploy to Sonatype Nexus on: release: - types: [created] + types: [published] jobs: deploy: