diff --git a/.github/workflows/github-packages-publish.yml b/.github/workflows/github-packages-publish.yml index fcc1294..4d32dd7 100644 --- a/.github/workflows/github-packages-publish.yml +++ b/.github/workflows/github-packages-publish.yml @@ -72,7 +72,7 @@ jobs: - name: Create Deployment on Central Publisher Portal run: | - curl -X 'POST' \ + curl --fail -X 'POST' \ 'https://ossrh-staging-api.central.sonatype.com/manual/upload/defaultRepository/com.onixbyte?publishing_type=user_managed' \ -H 'accept: */*' \ -H 'Authorization: Bearer ${{ secrets.MAVEN_PORTAL_TOKEN }}' \