Replies: 1 comment 3 replies
-
Let's say that I have a Static Site Generator fetching data from an api exposed a Headless Orchard Core instance and that the site is built by GitHub Actions, There is currently no WebHook feature in OC that I know of. Does anyone have such an example using an existing other SSG + CMS framework working together with a CI action triggered by a webhook? Is a Workflow able to do such action? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I recently tried Astro and I really like the provided features, even if I am not a good frontend js developer.
There could be a way to mix OC with this kind of application, calling the GraphQL api with an access token in order to retrieve specific contents (menu, pages, blog posts, custom contents).
Here are a few pointers and Astro examples using another Headless api, Storyblok:
Astro docs: https://docs.astro.build/en/guides/data-fetching/#example-storyblok-api
Demo: https://stackblitz.com/edit/astro-sdk-demo (Add
/test
after thewebcontainer.io
url on the upper right to see an example)A SDK is available to integrate easily the api.
Storyblok JavaScript SDK: https://github.com/storyblok/storyblok-js
Storyblok package for Astro : https://github.com/storyblok/storyblok-astro
Is anyone interested in Static site generators fetching content from Orchard Core Headless like this?
Beta Was this translation helpful? Give feedback.
All reactions