Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add new workflow to trigger building and publishing docs, fix release-prod docs step #185

Merged
merged 3 commits into from
Jan 13, 2024

Conversation

austin-denoble
Copy link
Contributor

Problem

We pushed a patch to fix up our npm release page. In doing this I realize the release-prod workflow is incorrectly still trying to push the built client docs to the gh-pages branch. It should be moving things to the sdk-docs repo like in merge.

Solution

  • Add new build-and-publish-docs workflow to allow triggering a fresh docs build and deploy off main separate from other workflows.
  • Update release-prod to use this new workflow if the npm release completes. Also uncommented the test re-use with the boolean flag in that workflow as it surprised me it immediately pushed to npm without any other checks.
  • Update other workflows to reuse build-and-publish-docs.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • Infrastructure change (CI configs, etc)

Test Plan

We'll have to test the release workflow by actually releasing, so give that a careful review. The docs workflow can be triggered and tested on its own.

@austin-denoble austin-denoble requested a review from jhamon January 13, 2024 02:05
Copy link
Collaborator

@jhamon jhamon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CI configs look good to me. It's nice reviewing again how the docs publishing works. Will be relevant to me on python very soon.

Good luck with those tests 💀

user-email: [email protected]
target-branch: main
target-directory: typescript
commit-message: 'TypeScript: automated documentation build - pinecone-ts-client merge SHA: ${{ github.sha }}'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think an extra empty line between commit title and body is conventional.

@austin-denoble austin-denoble merged commit 7f57ee9 into main Jan 13, 2024
17 of 20 checks passed
@austin-denoble austin-denoble deleted the adenoble/fix-docs-in-publishing-workflows branch January 13, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants