Join the Webstudio community

Updated 2 months ago

Triggering Cloudflare templates to deploy

At a glance
Hi, do you know where the Cloudflare template is triggered in the deploymentRouter to force Remix to build the project and push it to Cloudflare?

Plain Text
export const deploymentRouter = router({
  publish: procedure
    .input(PublishInput)
    .output(Output)
    .mutation(async ({ input }) => {
      // eslint-disable-next-line no-console
      // Logic should be implemented here
      return {
        success: false,
        error: `Not implemented, use buildId=${input.buildId}`,
      };
    }),
});
Add a reply
Sign up and join the conversation on Discord