{"id":29698744,"url":"https://github.com/johnrom/mochi-deployments","last_synced_at":"2025-07-23T10:38:39.738Z","repository":{"id":38130813,"uuid":"265923621","full_name":"johnrom/mochi-deployments","owner":"johnrom","description":"Frontend deployments for DotNet Core.","archived":false,"fork":false,"pushed_at":"2022-12-08T11:00:04.000Z","size":85,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-07-22T06:05:41.590Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/johnrom.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-05-21T18:32:43.000Z","updated_at":"2024-09-10T19:18:06.000Z","dependencies_parsed_at":"2023-01-25T10:45:50.384Z","dependency_job_id":null,"html_url":"https://github.com/johnrom/mochi-deployments","commit_stats":null,"previous_names":[],"tags_count":11,"template":false,"template_full_name":null,"purl":"pkg:github/johnrom/mochi-deployments","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrom%2Fmochi-deployments","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrom%2Fmochi-deployments/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrom%2Fmochi-deployments/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrom%2Fmochi-deployments/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/johnrom","download_url":"https://codeload.github.com/johnrom/mochi-deployments/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/johnrom%2Fmochi-deployments/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266464347,"owners_count":23932922,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-22T02:00:09.085Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-23T10:38:38.957Z","updated_at":"2025-07-23T10:38:39.733Z","avatar_url":"https://github.com/johnrom.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `Nmbl.Deployments`\n\n|        |         |\n| ------ | ------- |\n| Status | `alpha` |\n| Currently supports | `OrchardCore@1.0.0-rc2-13450` |\n\nFrontend / Serverless deployments for DotNet Core. Consists of a base Library, an Orchard Core library, a Vercel library, and an Orchard Core Module to connect them. Use to create new [GatsbyJS](https://www.gatsbyjs.org/), [NextJS](https://nextjs.org/) or other static site generator builds which query the CMS each time the CMS content is published.\n\n### Getting Started with OrchardCore and Vercel Front-end Deployments\n\nFirst, make sure you're using the version of Orchard Core listed above, and add `Nmbl.Deployments.OrchardCore.Vercel` to your project.\n\n```\ndotnet add Nmbl.Deployments.OrchardCore.Vercel@0.0.1-*\n```\n\nThen, add some Vercel configuration to your appSettings.\n\n\u003e Note: doesn't currently support configuration via Orchard Admin.\n\n```jsonc\n{\n  \"VercelOptions\": {\n    \"TeamId\": \"\",\n    \"ApiToken\": \"\",\n    \"DeployHook\": \"\"\n  },\n  \"OrchardDeploymentOptions\": {\n    \"DeployOnPublish\": false, // set to true to deploy after Publishing ContentItems.\n  }\n}\n```\n\nNow you can navigate to `Admin -\u003e Content -\u003e Deployments` and list your latest deployments or click \"Deploy Now\" to run a new deployment.\n\n## `Nmbl.Deployments.Core`\n\nThe core deployments library. Has a few options related to [Polly](https://github.com/App-vNext/Polly) policies.\n\n### `DeploymentOptions`\n\n| Setting | Required? | Default Value | Description |\n| ------- | --------- | ------------- | ----------- |\n| `HttpPolicyRetryCount` | | 3 | Number of times to retry requests after transient http failures, with exponential back-off. |\n| `CircuitBreakerPolicyCount` | | 3 | Number of times to fail before breaking, for `CircuitBreakerPolicyIntervalInSeconds`. |\n| `CircuitBreakerPolicyIntervalInSeconds` | | 60 | Seconds to break when Circuit Breaker is \"open\". |\n\n## `Nmbl.Deployments.OrchardCore`\n\nBase OrchardCore library connecting the Core library to Orchard Cache and Publish process.\n\n### `OrchardDeploymentOptions`\n\n`OrchardDeploymentOptions` configures whether publishing the site will automatically run deployments.\n\n| Setting | Required? | Default Value | Description |\n| ------- | --------- | ------------- | ----------- |\n| `DeployOnPublish` | | false | Run a deployment when hitting Publish on any ContentItem |\n\n## `Nmbl.Deployments.Vercel`\n\nBase Vercel library connecting the Core library to Vercel API endpoints.\n\n### `VercelOptions`\n\n| Setting | Required? | Default Value | Description |\n| ------- | ----------| ------------- | ----------- |\n| `BaseAddress` | x | https://api.vercel.com | The base address of the Vercel endpoint. |\n| `DeployHook` | x | | Vercel Deploy Hook Key, required for running deployments. |\n| `ApiToken` | x | | Vercel Api Token for reading Deployment Info. |\n| `TeamId` | | | ID of your Vercel Team, if applicable.\n| `ProductionBranch` | | `main` | Production branch of your repository\n\n## `Nmbl.Deployments.OrchardCore.Vercel`\n\nOrchard Core Module connecting `Nmbl.Deployments.Vercel` and `Nmbl.Deployments.OrchardCore`. No configuration of its own.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnrom%2Fmochi-deployments","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjohnrom%2Fmochi-deployments","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjohnrom%2Fmochi-deployments/lists"}