initial commit

This commit is contained in:
Cory Dransfeldt 2024-11-16 16:43:07 -08:00
commit c70fc72952
No known key found for this signature in database
143 changed files with 13594 additions and 0 deletions

20
workers/rebuild/index.js Normal file
View file

@ -0,0 +1,20 @@
export default {
async scheduled(event, env, ctx) {
const deployHookUrl = env.DEPLOY_HOOK_URL;
const response = await fetch(deployHookUrl, {
method: "POST",
});
if (!response.ok) {
const errorText = await response.text();
console.error(
`Error triggering deploy: ${response.statusText}`,
errorText
);
return;
}
console.log("Deploy triggered successfully");
},
};