diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 14fa3f3..da892fb 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -3,15 +3,11 @@ name: Publish on: push: branches: [ main ] - pull_request: - types: [ closed ] - branches: [ main ] jobs: publish: runs-on: ubuntu-latest environment: production - if: github.event.pull_request.merged == true || github.event_name == 'push' steps: - uses: actions/checkout@v4 - name: Set up JDK 8