diff --git a/.github/workflows/spring-cloud-deploy-docs.yaml b/.github/workflows/spring-cloud-deploy-docs.yaml index 98c5332b..17b69cfd 100644 --- a/.github/workflows/spring-cloud-deploy-docs.yaml +++ b/.github/workflows/spring-cloud-deploy-docs.yaml @@ -1,13 +1,15 @@ name: Deploy Docs run-name: ${{ format('{0} ({1})', github.workflow, github.event.inputs.build-refname || 'all') }} on: - workflow_dispatch: + workflow_call: inputs: build-refname: + type: string description: Enter git refname to build (e.g., 5.7.x). required: false - push: - branches: docs-build + secrets: + GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: + required: true env: GRADLE_ENTERPRISE_SECRET_ACCESS_KEY: ${{ secrets.GRADLE_ENTERPRISE_SECRET_ACCESS_KEY }} permissions: