From 4c0dd61c8f397f13f3018d5374c4387dfa309d5d Mon Sep 17 00:00:00 2001 From: Austin DeNoble Date: Thu, 25 Apr 2024 17:51:59 -0400 Subject: [PATCH] remove the merge workflow and update the build-and-publish-docs workflow to be manually runnable --- .../{merge.yaml => build-and-publish-docs.yaml} | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) rename .github/workflows/{merge.yaml => build-and-publish-docs.yaml} (74%) diff --git a/.github/workflows/merge.yaml b/.github/workflows/build-and-publish-docs.yaml similarity index 74% rename from .github/workflows/merge.yaml rename to .github/workflows/build-and-publish-docs.yaml index a2100b494..4d75c53d5 100644 --- a/.github/workflows/merge.yaml +++ b/.github/workflows/build-and-publish-docs.yaml @@ -1,10 +1,11 @@ -name: 'CI (main)' +name: "Build and publish documentation to sdk-docs" on: - push: - branches: - - main workflow_dispatch: {} + workflow_call: + secrets: + SSH_DEPLOY_KEY: + required: true jobs: build-and-deploy-documentation: @@ -29,4 +30,4 @@ jobs: user-email: clients@pinecone.io target-branch: main target-directory: python - commit-message: 'Python: automated documentation build - pinecone-python-client merge SHA: ${{ github.sha }}' + commit-message: "Python: automated documentation build - pinecone-python-client merge SHA: ${{ github.sha }}"