From a91f9236197c3eacb9e355619f8a6e51f8b170d0 Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Tue, 29 Oct 2024 17:40:41 -0500 Subject: [PATCH] Serve the site with nginx directly --- .static | 0 Procfile | 2 -- app.json | 7 +++++++ 3 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .static delete mode 100644 Procfile create mode 100644 app.json diff --git a/.static b/.static new file mode 100644 index 00000000..e69de29b diff --git a/Procfile b/Procfile deleted file mode 100644 index c78065e7..00000000 --- a/Procfile +++ /dev/null @@ -1,2 +0,0 @@ -release: hugo -v -web: hugo server --disableLiveReload --bind '0.0.0.0' --port ${PORT} --baseURL 'https://danbarber.me' --appendPort=false diff --git a/app.json b/app.json new file mode 100644 index 00000000..3696119e --- /dev/null +++ b/app.json @@ -0,0 +1,7 @@ +{ + "scripts": { + "dokku": { + "predeploy": "cd /app/www && hugo" + } + } +}