From 9237f5db6ffe6cd814e7be3f56630edc25544ade Mon Sep 17 00:00:00 2001 From: K0IN Date: Sat, 22 Jul 2023 22:58:28 +0200 Subject: [PATCH] Rename workflows, delete todo --- .github/workflows/deploy-deno-deploy-files.yml | 2 +- .github/workflows/deploy-image.yml | 2 +- app/backend/routes/static-files.ts | 2 +- todo | 8 -------- 4 files changed, 3 insertions(+), 11 deletions(-) delete mode 100644 todo diff --git a/.github/workflows/deploy-deno-deploy-files.yml b/.github/workflows/deploy-deno-deploy-files.yml index c5d9fb2..562774f 100644 --- a/.github/workflows/deploy-deno-deploy-files.yml +++ b/.github/workflows/deploy-deno-deploy-files.yml @@ -1,4 +1,4 @@ -name: Generate a build and push to deploy branch +name: push build to deploy branch on: push: diff --git a/.github/workflows/deploy-image.yml b/.github/workflows/deploy-image.yml index f57da69..b6ea0fd 100644 --- a/.github/workflows/deploy-image.yml +++ b/.github/workflows/deploy-image.yml @@ -1,4 +1,4 @@ -name: Build and publish a Docker image +name: publish a docker image on: push: diff --git a/app/backend/routes/static-files.ts b/app/backend/routes/static-files.ts index 0c9ce11..440f3f3 100644 --- a/app/backend/routes/static-files.ts +++ b/app/backend/routes/static-files.ts @@ -6,7 +6,7 @@ export async function serveStaticFilesMiddleware(context: Context, next: () => P if (!context.state.frontend) { throw new Error('frontend path not set'); } - + if (context.request.url.pathname.startsWith('/api/')) { throw new Error('api path'); } diff --git a/todo b/todo deleted file mode 100644 index bc72053..0000000 --- a/todo +++ /dev/null @@ -1,8 +0,0 @@ -# todo - -[ ] build frontend with deno -[ ] update frontend dependencies -[x] add import file so we can update it all in one place -[ ] add caching to docker -[ ] update docs -[x] add a remote notify cli call