Skip to content

Conversation

@lapentad
Copy link

@lapentad lapentad commented Oct 15, 2025

The makefile will clone the function catalog repo and copy over only function runner folder doc and it's javascript

 $ make preview-build
 $ make serve
image

@netlify
Copy link

netlify bot commented Oct 15, 2025

Deploy Preview for kptdocs ready!

Name Link
🔨 Latest commit fa1266c
🔍 Latest deploy log https://app.netlify.com/projects/kptdocs/deploys/68f9f31aebabe50008938592
😎 Deploy Preview https://deploy-preview-4289--kptdocs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@lapentad
Copy link
Author


.PHONY: serve production-build preview-build fetch-external-docs

fetch-external-docs:
Copy link
Contributor

Choose a reason for hiding this comment

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

Copy link
Author

Choose a reason for hiding this comment

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

@CsatariGergely I added them now.
Thank you because I did not notice they were not getting rendered

@CsatariGergely
Copy link
Contributor

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

@lapentad
Copy link
Author

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

Right, I haven't thought of this

I am reading from docs we should use this build hook https://docs.netlify.com/build/configure-builds/build-hooks/
So we have a github action in the catalog to do a simple curl to this hook so it will trigger the kpt.dev website build, if there are changes to the catalog-docs.

I can generate a PR for the catalog repo, but an OWNER might need to create a secret with the netlify build hook url from kpt.dev site (kpt.dev site on Netlify: Site settings -> Build & deploy -> Build hooks)

@lapentad
Copy link
Author

Looks good, thanks. Is there a way to trigger the build of kpt.dev in case there is a change in krm-functions-catalog?

@CsatariGergely kptdev/krm-functions-catalog#1187 added this, but I am assuming an OWNER can create that variable

@lapentad lapentad force-pushed the custom-build-script-netlify branch from 71447f6 to 84a8f49 Compare October 23, 2025 09:00
Signed-off-by: lapentafd <[email protected]>
Signed-off-by: lapentafd <[email protected]>
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