diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 0be0eb270..d85474b43 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -1,8 +1,9 @@ name: build docker image on: - - pull_request - - release + pull_request: + release: + types: [published] permissions: contents: read diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 29a87f5f7..721d6feb1 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -48,5 +48,3 @@ jobs: path: dist/ - name: Publish distribution 📦 to PyPI uses: pypa/gh-action-pypi-publish@release/v1 - with: - password: ${{ secrets.PYPI_API_TOKEN }}