diff --git a/.github/workflows/build_docs.yml b/.github/workflows/build_docs.yml index 8205e06d..d1f5bba4 100644 --- a/.github/workflows/build_docs.yml +++ b/.github/workflows/build_docs.yml @@ -45,7 +45,7 @@ concurrency: cancel-in-progress: false jobs: - build: + hexdoc: uses: ./.github/workflows/hexdoc.yml permissions: @@ -69,9 +69,9 @@ jobs: publish-pypi: runs-on: ubuntu-latest - needs: [build] + needs: [hexdoc] if: |- - needs.build.outputs.publish-release == 'true' && + needs.hexdoc.outputs.publish-release == 'true' && (github.event_name != 'workflow_dispatch' || inputs.publish == 'PyPI (release)') environment: @@ -93,7 +93,7 @@ jobs: publish-testpypi: runs-on: ubuntu-latest - needs: [build] + needs: [hexdoc] if: github.event_name == 'workflow_dispatch' && inputs.publish == 'TestPyPI' environment: diff --git a/.github/workflows/hexdoc.yml b/.github/workflows/hexdoc.yml index 16e4108e..3189f1f9 100644 --- a/.github/workflows/hexdoc.yml +++ b/.github/workflows/hexdoc.yml @@ -31,10 +31,6 @@ on: permissions: contents: read -concurrency: - group: hexdoc - cancel-in-progress: false - jobs: build: runs-on: ubuntu-latest