diff --git a/404.html b/404.html index 3fed0c9f3..0014dcb56 100644 --- a/404.html +++ b/404.html @@ -4,7 +4,7 @@ Page Not Found | Monitor - + diff --git a/CNAME b/CNAME deleted file mode 100644 index ae81479b7..000000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -docs.monitor.dev \ No newline at end of file diff --git a/assets/js/0058b4c6.7af2dda9.js b/assets/js/0058b4c6.784e5aaf.js similarity index 97% rename from assets/js/0058b4c6.7af2dda9.js rename to assets/js/0058b4c6.784e5aaf.js index 20c952f74..3add5df20 100644 --- a/assets/js/0058b4c6.7af2dda9.js +++ b/assets/js/0058b4c6.784e5aaf.js @@ -1 +1 @@ -"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[849],{6164:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"What is Monitor?","href":"/docs/intro","docId":"intro","unlisted":false},{"type":"link","label":"Resources","href":"/docs/resources","docId":"resources","unlisted":false},{"type":"link","label":"Monitor Core Setup","href":"/docs/core-setup","docId":"core-setup","unlisted":false},{"type":"link","label":"Connecting Servers","href":"/docs/connecting-servers","docId":"connecting-servers","unlisted":false},{"type":"category","label":"Build Images","items":[{"type":"link","label":"Configuration","href":"/docs/build-images/configuration","docId":"build-images/configuration","unlisted":false},{"type":"link","label":"Pre-build command","href":"/docs/build-images/pre-build","docId":"build-images/pre-build","unlisted":false},{"type":"link","label":"Builders","href":"/docs/build-images/builders","docId":"build-images/builders","unlisted":false},{"type":"link","label":"Versioning","href":"/docs/build-images/versioning","docId":"build-images/versioning","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/docs/build-images"},{"type":"category","label":"Deploy Containers","items":[{"type":"link","label":"Configuration","href":"/docs/deploy-containers/configuration","docId":"deploy-containers/configuration","unlisted":false},{"type":"link","label":"Container Management","href":"/docs/deploy-containers/lifetime-management","docId":"deploy-containers/lifetime-management","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/docs/deploy-containers/"},{"type":"link","label":"Sync Resources","href":"/docs/sync-resources","docId":"sync-resources","unlisted":false},{"type":"link","label":"Configuring Webhooks","href":"/docs/webhooks","docId":"webhooks","unlisted":false},{"type":"link","label":"Permissioning Resources","href":"/docs/permissioning","docId":"permissioning","unlisted":false},{"type":"link","label":"Version Upgrades","href":"/docs/version-upgrades","docId":"version-upgrades","unlisted":false},{"type":"link","label":"API","href":"/docs/api","docId":"api","unlisted":false}]},"docs":{"api":{"id":"api","title":"API","description":"Monitor Core exposes an http API to read data, write configuration, and execute actions. The API documentation is generated from the code and is available here.","sidebar":"docs"},"build-images/builders":{"id":"build-images/builders","title":"Builders","description":"A builder is a machine running monitor periphery and docker, which is able to handle a RunBuild command from monitor core. Any server connected to monitor can be chosen as the builder for a build.","sidebar":"docs"},"build-images/configuration":{"id":"build-images/configuration","title":"Configuration","description":"Monitor just needs a bit of information in order to build your image.","sidebar":"docs"},"build-images/index":{"id":"build-images/index","title":"Building Images","description":"Monitor builds docker images by cloning the source repository from the configured git provider, running docker build,","sidebar":"docs"},"build-images/pre-build":{"id":"build-images/pre-build","title":"Pre-build command","description":"Sometimes a command needs to be run before running `docker build`, you can configure this in the pre build section.","sidebar":"docs"},"build-images/versioning":{"id":"build-images/versioning","title":"Versioning","description":"Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the `latest` tag.","sidebar":"docs"},"connecting-servers":{"id":"connecting-servers","title":"Connecting Servers","description":"Connecting a server to monitor has 2 steps:","sidebar":"docs"},"core-setup":{"id":"core-setup","title":"Monitor Core Setup","description":"To run Monitor Core, you will need Docker. See the docker install docs.","sidebar":"docs"},"deploy-containers/configuration":{"id":"deploy-containers/configuration","title":"Configuration","description":"Choose the docker image","sidebar":"docs"},"deploy-containers/index":{"id":"deploy-containers/index","title":"Deploy Containers","description":"Monitor can deploy any docker images that it can access with the configured docker accounts.","sidebar":"docs"},"deploy-containers/lifetime-management":{"id":"deploy-containers/lifetime-management","title":"Container Management","description":"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container\'s lifetimes.","sidebar":"docs"},"docker-compose":{"id":"docker-compose","title":"Docker Compose","description":"Monitor supports docker compose through the Stack resource. Just create a new Stack, with any name, to get started."},"file-paths":{"id":"file-paths","title":"File Paths","description":"When working with monitor, you might have to configure file or directory paths."},"intro":{"id":"intro","title":"What is Monitor?","description":"Monitor is a web app to provide structure for managing your servers, builds, deployments, and automated procedures.","sidebar":"docs"},"permissioning":{"id":"permissioning","title":"Permissioning Resources","description":"All monitor resources (servers, builds, deployment) have independant permission tables to allow for users to have granular access to these resources. By default, users do not see any resources until they are given at least read permissions.","sidebar":"docs"},"procedures":{"id":"procedures","title":"procedures","description":""},"resources":{"id":"resources","title":"Resources","description":"Monitor is extendible through the Resource abstraction. Entities like Server, Deployment, and Stack are all Monitor Resources.","sidebar":"docs"},"sync-resources":{"id":"sync-resources","title":"Sync Resources","description":"Monitor is able to create, update, delete, and deploy resources declared in TOML files by diffing them against the existing resources,","sidebar":"docs"},"version-upgrades":{"id":"version-upgrades","title":"Version Upgrades","description":"Most version upgrades only require a redeployment of the core container after pulling the latest version, and are fully backward compatible with the periphery clients, which may be updated later on as convenient. This is the default, and will be the case unless specifically mentioned in the version release notes.","sidebar":"docs"},"webhooks":{"id":"webhooks","title":"Configuring Webhooks","description":"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor support incoming webhooks using the Github standard, which is also supported by other providers like Gitea.","sidebar":"docs"}}}}')}}]); \ No newline at end of file +"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[849],{6164:e=>{e.exports=JSON.parse('{"version":{"pluginId":"default","version":"current","label":"Next","banner":null,"badge":false,"noIndex":false,"className":"docs-version-current","isLast":true,"docsSidebars":{"docs":[{"type":"link","label":"What is Monitor?","href":"/docs/intro","docId":"intro","unlisted":false},{"type":"link","label":"Resources","href":"/docs/resources","docId":"resources","unlisted":false},{"type":"link","label":"Monitor Core Setup","href":"/docs/core-setup","docId":"core-setup","unlisted":false},{"type":"link","label":"Connecting Servers","href":"/docs/connecting-servers","docId":"connecting-servers","unlisted":false},{"type":"category","label":"Build Images","items":[{"type":"link","label":"Configuration","href":"/docs/build-images/configuration","docId":"build-images/configuration","unlisted":false},{"type":"link","label":"Pre-build command","href":"/docs/build-images/pre-build","docId":"build-images/pre-build","unlisted":false},{"type":"link","label":"Builders","href":"/docs/build-images/builders","docId":"build-images/builders","unlisted":false},{"type":"link","label":"Versioning","href":"/docs/build-images/versioning","docId":"build-images/versioning","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/docs/build-images"},{"type":"category","label":"Deploy Containers","items":[{"type":"link","label":"Configuration","href":"/docs/deploy-containers/configuration","docId":"deploy-containers/configuration","unlisted":false},{"type":"link","label":"Container Management","href":"/docs/deploy-containers/lifetime-management","docId":"deploy-containers/lifetime-management","unlisted":false}],"collapsed":true,"collapsible":true,"href":"/docs/deploy-containers/"},{"type":"link","label":"Sync Resources","href":"/docs/sync-resources","docId":"sync-resources","unlisted":false},{"type":"link","label":"Configuring Webhooks","href":"/docs/webhooks","docId":"webhooks","unlisted":false},{"type":"link","label":"Permissioning Resources","href":"/docs/permissioning","docId":"permissioning","unlisted":false},{"type":"link","label":"Version Upgrades","href":"/docs/version-upgrades","docId":"version-upgrades","unlisted":false},{"type":"link","label":"API","href":"/docs/api","docId":"api","unlisted":false}]},"docs":{"api":{"id":"api","title":"API","description":"Monitor Core exposes an http API to read data, write configuration, and execute actions. The API documentation is generated from the code and is available here.","sidebar":"docs"},"build-images/builders":{"id":"build-images/builders","title":"Builders","description":"A builder is a machine running monitor periphery and docker, which is able to handle a RunBuild command from monitor core. Any server connected to monitor can be chosen as the builder for a build.","sidebar":"docs"},"build-images/configuration":{"id":"build-images/configuration","title":"Configuration","description":"Monitor just needs a bit of information in order to build your image.","sidebar":"docs"},"build-images/index":{"id":"build-images/index","title":"Building Images","description":"Monitor builds docker images by cloning the source repository from the configured git provider, running docker build,","sidebar":"docs"},"build-images/pre-build":{"id":"build-images/pre-build","title":"Pre-build command","description":"Sometimes a command needs to be run before running `docker build`, you can configure this in the pre build section.","sidebar":"docs"},"build-images/versioning":{"id":"build-images/versioning","title":"Versioning","description":"Monitor uses a major.minor.patch versioning scheme. Every build will auto increment the patch number, and push the image to docker hub with the version tag as well as the `latest` tag.","sidebar":"docs"},"connecting-servers":{"id":"connecting-servers","title":"Connecting Servers","description":"Connecting a server to monitor has 2 steps:","sidebar":"docs"},"core-setup":{"id":"core-setup","title":"Monitor Core Setup","description":"To run Monitor Core, you will need Docker. See the docker install docs.","sidebar":"docs"},"deploy-containers/configuration":{"id":"deploy-containers/configuration","title":"Configuration","description":"Choose the docker image","sidebar":"docs"},"deploy-containers/index":{"id":"deploy-containers/index","title":"Deploy Containers","description":"Monitor can deploy any docker images that it can access with the configured docker accounts.","sidebar":"docs"},"deploy-containers/lifetime-management":{"id":"deploy-containers/lifetime-management","title":"Container Management","description":"The lifetime of a docker container is more like a virtual machine. They can be created, started, stopped, and destroyed. Monitor will display the state of the container and provides an API to manage all your container\'s lifetimes.","sidebar":"docs"},"docker-compose":{"id":"docker-compose","title":"Docker Compose","description":"Monitor supports docker compose through the Stack resource. Just create a new Stack, with any name, to get started."},"file-paths":{"id":"file-paths","title":"File Paths","description":"When working with monitor, you might have to configure file or directory paths."},"intro":{"id":"intro","title":"What is Monitor?","description":"Monitor is a web app to provide structure for managing your servers, builds, deployments, and automated procedures.","sidebar":"docs"},"permissioning":{"id":"permissioning","title":"Permissioning Resources","description":"All monitor resources (servers, builds, deployment) have independant permission tables to allow for users to have granular access to these resources. By default, users do not see any resources until they are given at least read permissions.","sidebar":"docs"},"procedures":{"id":"procedures","title":"procedures","description":""},"resources":{"id":"resources","title":"Resources","description":"Monitor is extendible through the Resource abstraction. Entities like Server, Deployment, and Stack are all Monitor Resources.","sidebar":"docs"},"sync-resources":{"id":"sync-resources","title":"Sync Resources","description":"Monitor is able to create, update, delete, and deploy resources declared in TOML files by diffing them against the existing resources,","sidebar":"docs"},"version-upgrades":{"id":"version-upgrades","title":"Version Upgrades","description":"Most version upgrades only require a redeployment of the core container after pulling the latest version, and are fully backward compatible with the periphery clients, which may be updated later on as convenient. This is the default, and will be the case unless specifically mentioned in the version release notes.","sidebar":"docs"},"webhooks":{"id":"webhooks","title":"Configuring Webhooks","description":"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor supports incoming webhooks using the Github standard, which is also supported by other providers like Gitea.","sidebar":"docs"}}}}')}}]); \ No newline at end of file diff --git a/assets/js/39c35b2c.222be492.js b/assets/js/39c35b2c.222be492.js new file mode 100644 index 000000000..febcc48ae --- /dev/null +++ b/assets/js/39c35b2c.222be492.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[782],{8327:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>c,contentTitle:()=>s,default:()=>l,frontMatter:()=>i,metadata:()=>h,toc:()=>d});var n=t(4848),r=t(8453);const i={},s="Configuring Webhooks",h={id:"webhooks",title:"Configuring Webhooks",description:"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor supports incoming webhooks using the Github standard, which is also supported by other providers like Gitea.",source:"@site/docs/webhooks.md",sourceDirName:".",slug:"/webhooks",permalink:"/docs/webhooks",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/webhooks.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Sync Resources",permalink:"/docs/sync-resources"},next:{title:"Permissioning Resources",permalink:"/docs/permissioning"}},c={},d=[{value:"Copy the Resource Payload URL",id:"copy-the-resource-payload-url",level:2},{value:"Create the webhook on the Git Provider",id:"create-the-webhook-on-the-git-provider",level:2},{value:"When does it trigger?",id:"when-does-it-trigger",level:2}];function a(e){const o={admonition:"admonition",code:"code",em:"em",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.h1,{id:"configuring-webhooks",children:"Configuring Webhooks"}),"\n",(0,n.jsx)(o.p,{children:"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor supports incoming webhooks using the Github standard, which is also supported by other providers like Gitea."}),"\n",(0,n.jsx)(o.admonition,{type:"note",children:(0,n.jsx)(o.p,{children:'On Gitea, the default "Gitea" webhook type works with the Github standard \ud83d\udc4d'})}),"\n",(0,n.jsx)(o.h2,{id:"copy-the-resource-payload-url",children:"Copy the Resource Payload URL"}),"\n",(0,n.jsxs)(o.p,{children:["Find the resource in UI, like a ",(0,n.jsx)(o.code,{children:"Build"}),", ",(0,n.jsx)(o.code,{children:"Repo"}),", or ",(0,n.jsx)(o.code,{children:"Stack"}),".\nScroll down to the bottom of Configuration area, and copy the webhook for the action you want."]}),"\n",(0,n.jsx)(o.h2,{id:"create-the-webhook-on-the-git-provider",children:"Create the webhook on the Git Provider"}),"\n",(0,n.jsx)(o.p,{children:"Navigate to the repo page on your git provider, and go to the settings for the Repo.\nFind Webhook settings, and click to create a new webhook."}),"\n",(0,n.jsx)(o.p,{children:"You will have to input some information."}),"\n",(0,n.jsxs)(o.ol,{children:["\n",(0,n.jsxs)(o.li,{children:["The ",(0,n.jsx)(o.code,{children:"Payload URL"})," is the link that you copied in the step above, ",(0,n.jsx)(o.code,{children:"Copy the Resource Payload URL"}),"."]}),"\n",(0,n.jsxs)(o.li,{children:["For Content-type, choose ",(0,n.jsx)(o.code,{children:"application/json"})]}),"\n",(0,n.jsxs)(o.li,{children:["For Secret, input the secret you configured in the Monitor Core config (",(0,n.jsx)(o.code,{children:"MONITOR_WEBHOOK_SECRET"}),")."]}),"\n",(0,n.jsx)(o.li,{children:"Enable SSL Verification, if you have proper TLS setup to your git provider (recommended)."}),"\n",(0,n.jsx)(o.li,{children:'For "events that trigger the webhook", just the push request is what post people want.'}),"\n",(0,n.jsx)(o.li,{children:'Of course, make sure the webhook is "Active" and hit create.'}),"\n"]}),"\n",(0,n.jsx)(o.h2,{id:"when-does-it-trigger",children:"When does it trigger?"}),"\n",(0,n.jsxs)(o.p,{children:["Your git provider will now push this webhook to Monitor on ",(0,n.jsx)(o.em,{children:"every"})," push to ",(0,n.jsx)(o.em,{children:"any"})," branch. However, your ",(0,n.jsx)(o.code,{children:"Build"}),", ",(0,n.jsx)(o.code,{children:"Repo"}),",\netc. only cares about a specific branch of the repo."]}),"\n",(0,n.jsxs)(o.p,{children:["Because of this, the webhook will trigger the action ",(0,n.jsx)(o.strong,{children:"only on pushes to the branch configured on the resource"}),"."]}),"\n",(0,n.jsxs)(o.p,{children:["For example, if I make a build, I may point the build to the ",(0,n.jsx)(o.code,{children:"release"})," branch of a particular repo. If I set up a webhook, and push to the ",(0,n.jsx)(o.code,{children:"main"})," branch, the action will ",(0,n.jsx)(o.em,{children:"not trigger"}),". It will only trigger when the push is to the ",(0,n.jsx)(o.code,{children:"release"})," branch."]})]})}function l(e={}){const{wrapper:o}={...(0,r.R)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453:(e,o,t)=>{t.d(o,{R:()=>s,x:()=>h});var n=t(6540);const r={},i=n.createContext(r);function s(e){const o=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function h(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(i.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/39c35b2c.998930b5.js b/assets/js/39c35b2c.998930b5.js deleted file mode 100644 index 9fd635811..000000000 --- a/assets/js/39c35b2c.998930b5.js +++ /dev/null @@ -1 +0,0 @@ -"use strict";(self.webpackChunkdocsite=self.webpackChunkdocsite||[]).push([[782],{8327:(e,o,t)=>{t.r(o),t.d(o,{assets:()=>c,contentTitle:()=>s,default:()=>l,frontMatter:()=>i,metadata:()=>h,toc:()=>d});var n=t(4848),r=t(8453);const i={},s="Configuring Webhooks",h={id:"webhooks",title:"Configuring Webhooks",description:"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor support incoming webhooks using the Github standard, which is also supported by other providers like Gitea.",source:"@site/docs/webhooks.md",sourceDirName:".",slug:"/webhooks",permalink:"/docs/webhooks",draft:!1,unlisted:!1,editUrl:"https://github.com/facebook/docusaurus/tree/main/packages/create-docusaurus/templates/shared/docs/webhooks.md",tags:[],version:"current",frontMatter:{},sidebar:"docs",previous:{title:"Sync Resources",permalink:"/docs/sync-resources"},next:{title:"Permissioning Resources",permalink:"/docs/permissioning"}},c={},d=[{value:"Copy the Resource Payload URL",id:"copy-the-resource-payload-url",level:2},{value:"Create the webhook on the Git Provider",id:"create-the-webhook-on-the-git-provider",level:2},{value:"When does it trigger?",id:"when-does-it-trigger",level:2}];function a(e){const o={admonition:"admonition",code:"code",em:"em",h1:"h1",h2:"h2",li:"li",ol:"ol",p:"p",strong:"strong",...(0,r.R)(),...e.components};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.h1,{id:"configuring-webhooks",children:"Configuring Webhooks"}),"\n",(0,n.jsx)(o.p,{children:"Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor support incoming webhooks using the Github standard, which is also supported by other providers like Gitea."}),"\n",(0,n.jsx)(o.admonition,{type:"note",children:(0,n.jsx)(o.p,{children:'On Gitea, the default "Gitea" webhook type works with the Github standard \ud83d\udc4d'})}),"\n",(0,n.jsx)(o.h2,{id:"copy-the-resource-payload-url",children:"Copy the Resource Payload URL"}),"\n",(0,n.jsxs)(o.p,{children:["Find the resource in UI, like a ",(0,n.jsx)(o.code,{children:"Build"}),", ",(0,n.jsx)(o.code,{children:"Repo"}),", or ",(0,n.jsx)(o.code,{children:"Stack"}),".\nScroll down to the bottom of Configuration area, and copy the webhook for the action you want."]}),"\n",(0,n.jsx)(o.h2,{id:"create-the-webhook-on-the-git-provider",children:"Create the webhook on the Git Provider"}),"\n",(0,n.jsx)(o.p,{children:"Navigate to the repo page on your git provider, and go to the settings for the Repo.\nFind Webhook settings, and click to create a new webhook."}),"\n",(0,n.jsx)(o.p,{children:"You will have to input some information."}),"\n",(0,n.jsxs)(o.ol,{children:["\n",(0,n.jsxs)(o.li,{children:["The ",(0,n.jsx)(o.code,{children:"Payload URL"})," is the link that you copied in the step above, ",(0,n.jsx)(o.code,{children:"Copy the Resource Payload URL"}),"."]}),"\n",(0,n.jsxs)(o.li,{children:["For Content-type, choose ",(0,n.jsx)(o.code,{children:"application/json"})]}),"\n",(0,n.jsxs)(o.li,{children:["For Secret, input the secret you configured in the Monitor Core config (",(0,n.jsx)(o.code,{children:"MONITOR_WEBHOOK_SECRET"}),")."]}),"\n",(0,n.jsx)(o.li,{children:"Enable SSL Verification, if you have proper TLS setup to your git provider (recommended)."}),"\n",(0,n.jsx)(o.li,{children:'For "events that trigger the webhook", just the push request is what post people want.'}),"\n",(0,n.jsx)(o.li,{children:'Of course, make sure the webhook is "Active" and hit create.'}),"\n"]}),"\n",(0,n.jsx)(o.h2,{id:"when-does-it-trigger",children:"When does it trigger?"}),"\n",(0,n.jsxs)(o.p,{children:["Your git provider will now push this webhook to Monitor on ",(0,n.jsx)(o.em,{children:"every"})," push to ",(0,n.jsx)(o.em,{children:"any"})," branch. However, your ",(0,n.jsx)(o.code,{children:"Build"}),", ",(0,n.jsx)(o.code,{children:"Repo"}),",\netc. only cares about a specific branch of the repo."]}),"\n",(0,n.jsxs)(o.p,{children:["Because of this, the webhook will trigger the action ",(0,n.jsx)(o.strong,{children:"only on pushes to the branch configured on the resource"}),"."]}),"\n",(0,n.jsxs)(o.p,{children:["For example, if I make a build, I may point the build to the ",(0,n.jsx)(o.code,{children:"release"})," branch of a particular repo. If I set up a webhook, and push to the ",(0,n.jsx)(o.code,{children:"main"})," branch, the action will ",(0,n.jsx)(o.em,{children:"not trigger"}),". It will only trigger when the push is to the ",(0,n.jsx)(o.code,{children:"release"})," branch."]})]})}function l(e={}){const{wrapper:o}={...(0,r.R)(),...e.components};return o?(0,n.jsx)(o,{...e,children:(0,n.jsx)(a,{...e})}):a(e)}},8453:(e,o,t)=>{t.d(o,{R:()=>s,x:()=>h});var n=t(6540);const r={},i=n.createContext(r);function s(e){const o=n.useContext(i);return n.useMemo((function(){return"function"==typeof e?e(o):{...o,...e}}),[o,e])}function h(e){let o;return o=e.disableParentContext?"function"==typeof e.components?e.components(r):e.components||r:s(e.components),n.createElement(i.Provider,{value:o},e.children)}}}]); \ No newline at end of file diff --git a/assets/js/runtime~main.6ce207be.js b/assets/js/runtime~main.d09bb5a2.js similarity index 97% rename from assets/js/runtime~main.6ce207be.js rename to assets/js/runtime~main.d09bb5a2.js index 4d213c792..107458263 100644 --- a/assets/js/runtime~main.6ce207be.js +++ b/assets/js/runtime~main.d09bb5a2.js @@ -1 +1 @@ -(()=>{"use strict";var e,t,a,r,o,c={},n={};function d(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return c[e].call(a.exports,a,a.exports,d),a.loaded=!0,a.exports}d.m=c,d.c=n,e=[],d.O=(t,a,r,o)=>{if(!a){var c=1/0;for(b=0;b=o)&&Object.keys(d.O).every((e=>d.O[e](a[f])))?a.splice(f--,1):(n=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[a,r,o]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var c={};t=t||[null,a({}),a([]),a(a)];for(var n=2&r&&e;"object"==typeof n&&!~t.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,d.d(o,c),o},d.d=(e,t)=>{for(var a in t)d.o(t,a)&&!d.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,a)=>(d.f[a](e,t),t)),[])),d.u=e=>"assets/js/"+({48:"a94703ab",92:"3734296e",98:"a7bd4aaa",100:"ef1bbce5",235:"a7456010",247:"f8238c17",383:"d59290e0",401:"17896441",531:"75245258",543:"c65a6c17",549:"a5a01e01",552:"669fcf45",583:"1df93b7f",624:"5fbc5cf1",636:"a5c9d4c4",647:"5e95c892",648:"a9cd8699",663:"6aab5236",667:"97879372",742:"aba21aa0",782:"39c35b2c",846:"c54f4afd",848:"8b13a4b4",849:"0058b4c6",864:"d92a3c43",943:"79c522c5",976:"0e384e19",995:"ef526b88"}[e]||e)+"."+{48:"0a6b5f99",92:"876c6023",98:"6f58ed8b",100:"642e3763",235:"b82eb55b",237:"2f3e1c0f",247:"ace2f037",383:"ea42055d",401:"ec55cfba",531:"c416494e",543:"a6710687",549:"1e625067",552:"e3644477",583:"76d77823",624:"acba48e9",636:"46e0c746",647:"825bac72",648:"703078a6",663:"fc1be06c",667:"10640bf5",742:"e2256b29",782:"998930b5",846:"015c52ac",848:"510b7808",849:"7af2dda9",864:"0440911f",943:"b18e36e0",976:"b304a34a",995:"e744ea91"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="docsite:",d.l=(e,t,a,c)=>{if(r[e])r[e].push(t);else{var n,f;if(void 0!==a)for(var i=document.getElementsByTagName("script"),b=0;b{n.onerror=n.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(a))),t)return t(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),f&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"401",75245258:"531",97879372:"667",a94703ab:"48","3734296e":"92",a7bd4aaa:"98",ef1bbce5:"100",a7456010:"235",f8238c17:"247",d59290e0:"383",c65a6c17:"543",a5a01e01:"549","669fcf45":"552","1df93b7f":"583","5fbc5cf1":"624",a5c9d4c4:"636","5e95c892":"647",a9cd8699:"648","6aab5236":"663",aba21aa0:"742","39c35b2c":"782",c54f4afd:"846","8b13a4b4":"848","0058b4c6":"849",d92a3c43:"864","79c522c5":"943","0e384e19":"976",ef526b88:"995"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(t,a)=>{var r=d.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((a,o)=>r=e[t]=[a,o]));a.push(r[2]=o);var c=d.p+d.u(t),n=new Error;d.l(c,(a=>{if(d.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+c+")",n.name="ChunkLoadError",n.type=o,n.request=c,r[1](n)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,c=a[0],n=a[1],f=a[2],i=0;if(c.some((t=>0!==e[t]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(f)var b=f(d)}for(t&&t(a);i{"use strict";var e,t,a,r,o,c={},n={};function d(e){var t=n[e];if(void 0!==t)return t.exports;var a=n[e]={id:e,loaded:!1,exports:{}};return c[e].call(a.exports,a,a.exports,d),a.loaded=!0,a.exports}d.m=c,d.c=n,e=[],d.O=(t,a,r,o)=>{if(!a){var c=1/0;for(b=0;b=o)&&Object.keys(d.O).every((e=>d.O[e](a[f])))?a.splice(f--,1):(n=!1,o0&&e[b-1][2]>o;b--)e[b]=e[b-1];e[b]=[a,r,o]},d.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return d.d(t,{a:t}),t},a=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,d.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var o=Object.create(null);d.r(o);var c={};t=t||[null,a({}),a([]),a(a)];for(var n=2&r&&e;"object"==typeof n&&!~t.indexOf(n);n=a(n))Object.getOwnPropertyNames(n).forEach((t=>c[t]=()=>e[t]));return c.default=()=>e,d.d(o,c),o},d.d=(e,t)=>{for(var a in t)d.o(t,a)&&!d.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},d.f={},d.e=e=>Promise.all(Object.keys(d.f).reduce(((t,a)=>(d.f[a](e,t),t)),[])),d.u=e=>"assets/js/"+({48:"a94703ab",92:"3734296e",98:"a7bd4aaa",100:"ef1bbce5",235:"a7456010",247:"f8238c17",383:"d59290e0",401:"17896441",531:"75245258",543:"c65a6c17",549:"a5a01e01",552:"669fcf45",583:"1df93b7f",624:"5fbc5cf1",636:"a5c9d4c4",647:"5e95c892",648:"a9cd8699",663:"6aab5236",667:"97879372",742:"aba21aa0",782:"39c35b2c",846:"c54f4afd",848:"8b13a4b4",849:"0058b4c6",864:"d92a3c43",943:"79c522c5",976:"0e384e19",995:"ef526b88"}[e]||e)+"."+{48:"0a6b5f99",92:"876c6023",98:"6f58ed8b",100:"642e3763",235:"b82eb55b",237:"2f3e1c0f",247:"ace2f037",383:"ea42055d",401:"ec55cfba",531:"c416494e",543:"a6710687",549:"1e625067",552:"e3644477",583:"76d77823",624:"acba48e9",636:"46e0c746",647:"825bac72",648:"703078a6",663:"fc1be06c",667:"10640bf5",742:"e2256b29",782:"222be492",846:"015c52ac",848:"510b7808",849:"784e5aaf",864:"0440911f",943:"b18e36e0",976:"b304a34a",995:"e744ea91"}[e]+".js",d.miniCssF=e=>{},d.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),d.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r={},o="docsite:",d.l=(e,t,a,c)=>{if(r[e])r[e].push(t);else{var n,f;if(void 0!==a)for(var i=document.getElementsByTagName("script"),b=0;b{n.onerror=n.onload=null,clearTimeout(s);var o=r[e];if(delete r[e],n.parentNode&&n.parentNode.removeChild(n),o&&o.forEach((e=>e(a))),t)return t(a)},s=setTimeout(l.bind(null,void 0,{type:"timeout",target:n}),12e4);n.onerror=l.bind(null,n.onerror),n.onload=l.bind(null,n.onload),f&&document.head.appendChild(n)}},d.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},d.p="/",d.gca=function(e){return e={17896441:"401",75245258:"531",97879372:"667",a94703ab:"48","3734296e":"92",a7bd4aaa:"98",ef1bbce5:"100",a7456010:"235",f8238c17:"247",d59290e0:"383",c65a6c17:"543",a5a01e01:"549","669fcf45":"552","1df93b7f":"583","5fbc5cf1":"624",a5c9d4c4:"636","5e95c892":"647",a9cd8699:"648","6aab5236":"663",aba21aa0:"742","39c35b2c":"782",c54f4afd:"846","8b13a4b4":"848","0058b4c6":"849",d92a3c43:"864","79c522c5":"943","0e384e19":"976",ef526b88:"995"}[e]||e,d.p+d.u(e)},(()=>{var e={354:0,869:0};d.f.j=(t,a)=>{var r=d.o(e,t)?e[t]:void 0;if(0!==r)if(r)a.push(r[2]);else if(/^(354|869)$/.test(t))e[t]=0;else{var o=new Promise(((a,o)=>r=e[t]=[a,o]));a.push(r[2]=o);var c=d.p+d.u(t),n=new Error;d.l(c,(a=>{if(d.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=a&&("load"===a.type?"missing":a.type),c=a&&a.target&&a.target.src;n.message="Loading chunk "+t+" failed.\n("+o+": "+c+")",n.name="ChunkLoadError",n.type=o,n.request=c,r[1](n)}}),"chunk-"+t,t)}},d.O.j=t=>0===e[t];var t=(t,a)=>{var r,o,c=a[0],n=a[1],f=a[2],i=0;if(c.some((t=>0!==e[t]))){for(r in n)d.o(n,r)&&(d.m[r]=n[r]);if(f)var b=f(d)}for(t&&t(a);i API | Monitor - + diff --git a/docs/build-images.html b/docs/build-images.html index 426d1c42b..66d21c32a 100644 --- a/docs/build-images.html +++ b/docs/build-images.html @@ -4,7 +4,7 @@ Building Images | Monitor - + diff --git a/docs/build-images/builders.html b/docs/build-images/builders.html index 2588aa45e..25294eba7 100644 --- a/docs/build-images/builders.html +++ b/docs/build-images/builders.html @@ -4,7 +4,7 @@ Builders | Monitor - + diff --git a/docs/build-images/configuration.html b/docs/build-images/configuration.html index 318e97aed..64ff26368 100644 --- a/docs/build-images/configuration.html +++ b/docs/build-images/configuration.html @@ -4,7 +4,7 @@ Configuration | Monitor - + diff --git a/docs/build-images/pre-build.html b/docs/build-images/pre-build.html index 15f83db99..b0a973a63 100644 --- a/docs/build-images/pre-build.html +++ b/docs/build-images/pre-build.html @@ -4,7 +4,7 @@ Pre-build command | Monitor - + diff --git a/docs/build-images/versioning.html b/docs/build-images/versioning.html index 01ee3362e..998db4a3a 100644 --- a/docs/build-images/versioning.html +++ b/docs/build-images/versioning.html @@ -4,7 +4,7 @@ Versioning | Monitor - + diff --git a/docs/connecting-servers.html b/docs/connecting-servers.html index c45bb1ab9..7280d6d38 100644 --- a/docs/connecting-servers.html +++ b/docs/connecting-servers.html @@ -4,7 +4,7 @@ Connecting Servers | Monitor - + diff --git a/docs/core-setup.html b/docs/core-setup.html index a6760c81f..f945bd20d 100644 --- a/docs/core-setup.html +++ b/docs/core-setup.html @@ -4,7 +4,7 @@ Monitor Core Setup | Monitor - + diff --git a/docs/deploy-containers.html b/docs/deploy-containers.html index 10a2df117..8ac28d6c7 100644 --- a/docs/deploy-containers.html +++ b/docs/deploy-containers.html @@ -4,7 +4,7 @@ Deploy Containers | Monitor - + diff --git a/docs/deploy-containers/configuration.html b/docs/deploy-containers/configuration.html index ed4a53819..4234c8add 100644 --- a/docs/deploy-containers/configuration.html +++ b/docs/deploy-containers/configuration.html @@ -4,7 +4,7 @@ Configuration | Monitor - + diff --git a/docs/deploy-containers/lifetime-management.html b/docs/deploy-containers/lifetime-management.html index 4eece7065..0adc12eda 100644 --- a/docs/deploy-containers/lifetime-management.html +++ b/docs/deploy-containers/lifetime-management.html @@ -4,7 +4,7 @@ Container Management | Monitor - + diff --git a/docs/docker-compose.html b/docs/docker-compose.html index 13e950e3c..93f8c231e 100644 --- a/docs/docker-compose.html +++ b/docs/docker-compose.html @@ -4,7 +4,7 @@ Docker Compose | Monitor - + diff --git a/docs/file-paths.html b/docs/file-paths.html index 3f4945412..8fbe6616b 100644 --- a/docs/file-paths.html +++ b/docs/file-paths.html @@ -4,7 +4,7 @@ File Paths | Monitor - + diff --git a/docs/intro.html b/docs/intro.html index 6f4912fa2..42ace4bbc 100644 --- a/docs/intro.html +++ b/docs/intro.html @@ -4,7 +4,7 @@ What is Monitor? | Monitor - + diff --git a/docs/permissioning.html b/docs/permissioning.html index a0cd10959..ed36f04e0 100644 --- a/docs/permissioning.html +++ b/docs/permissioning.html @@ -4,7 +4,7 @@ Permissioning Resources | Monitor - + diff --git a/docs/procedures.html b/docs/procedures.html index 1c8eb6dbf..1ae9b9fd4 100644 --- a/docs/procedures.html +++ b/docs/procedures.html @@ -4,7 +4,7 @@ procedures | Monitor - + diff --git a/docs/resources.html b/docs/resources.html index aa8c2ba63..5b5cdcb9f 100644 --- a/docs/resources.html +++ b/docs/resources.html @@ -4,7 +4,7 @@ Resources | Monitor - + diff --git a/docs/sync-resources.html b/docs/sync-resources.html index 7a1255e27..9759017ce 100644 --- a/docs/sync-resources.html +++ b/docs/sync-resources.html @@ -4,7 +4,7 @@ Sync Resources | Monitor - + diff --git a/docs/version-upgrades.html b/docs/version-upgrades.html index c53936639..8c1231953 100644 --- a/docs/version-upgrades.html +++ b/docs/version-upgrades.html @@ -4,7 +4,7 @@ Version Upgrades | Monitor - + diff --git a/docs/webhooks.html b/docs/webhooks.html index 8ff670fa4..c87735a26 100644 --- a/docs/webhooks.html +++ b/docs/webhooks.html @@ -3,13 +3,13 @@ -Configuring Webhooks | Monitor - +Configuring Webhooks | Monitor +

Configuring Webhooks

-

Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor support incoming webhooks using the Github standard, which is also supported by other providers like Gitea.

+

Multiple Monitor resources can take advantage of webhooks from your git provider. Monitor supports incoming webhooks using the Github standard, which is also supported by other providers like Gitea.

note

On Gitea, the default "Gitea" webhook type works with the Github standard 👍

Copy the Resource Payload URL

Find the resource in UI, like a Build, Repo, or Stack. diff --git a/index.html b/index.html index 52c7c4624..3b00859db 100644 --- a/index.html +++ b/index.html @@ -4,7 +4,7 @@ Monitor Docs | Monitor - +