diff --git a/.github/workflows/merge.yml b/.github/workflows/merge.yml index 860658a4..1def700e 100644 --- a/.github/workflows/merge.yml +++ b/.github/workflows/merge.yml @@ -16,10 +16,15 @@ jobs: uses: ./.github/actions/setup - name: Generate TypeDoc documentation uses: ./.github/actions/build-docs - - name: Deploy documentation to gh-pages - uses: s0/git-publish-subdir-action@develop + - name: Push documentation artifacts to sdk-docs + uses: cpina/github-action-push-to-another-repository@main env: - REPO: self - BRANCH: gh-pages - FOLDER: docs - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + SSH_DEPLOY_KEY: ${{ secrets.SSH_DEPLOY_KEY }} + with: + source-directory: docs + destination-github-username: pinecone-io + destination-repository-name: sdk-docs + user-email: clients@pinecone.io + target-branch: main + target-directory: typescript + commit-message: 'TypeScript: automated documentation build - pinecone-ts-client merge SHA: ${{ github.sha }}'