diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index e752b38..3e51b1b 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -1,5 +1,7 @@ name: Publish to Sonatype on: + workflow_dispatch: + push: tags: ["*"] @@ -10,4 +12,5 @@ jobs: PGP_PASSPHRASE: ${{ secrets.PGP_PASSPHRASE }} PGP_SECRET: ${{ secrets.PGP_SECRET }} SONATYPE_PASSWORD: ${{ secrets.SONATYPE_PASSWORD }} - SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} \ No newline at end of file + SONATYPE_USERNAME: ${{ secrets.SONATYPE_USERNAME }} + PAT: ${{ secrets.PAT }} \ No newline at end of file