diff --git a/.github/workflows/ce-provision-publish-docs.yml b/.github/workflows/ce-provision-publish-docs.yml index be0c8479b..6bd457aa8 100644 --- a/.github/workflows/ce-provision-publish-docs.yml +++ b/.github/workflows/ce-provision-publish-docs.yml @@ -27,11 +27,10 @@ jobs: echo "docs_branch=${{ env.docs_branch }}" >> $GITHUB_OUTPUT publish-docs: + name: Publish the ce-provision docs to GitHub # Only run the job if it is not coming from a documentation branch + needs: set-docs-branch if: ${{ github.event.pull_request.head.ref != needs.set-docs-branch.outputs.docs_branch }} - # Name the Job - name: Publish the ce-provision docs to GitHub - # Set the type of machine to run on runs-on: ubuntu-latest # Use our ce-dev Debian base container