From bf3d6dcc0d6f013fe60bad40953aa56fdc2a2da5 Mon Sep 17 00:00:00 2001 From: Jared Miller Date: Thu, 25 Dec 2025 09:43:12 -0500 Subject: [PATCH] Add simple deploy script --- .gitignore | 1 + justfile | 11 +++++++++++ 2 files changed, 12 insertions(+) create mode 100644 justfile diff --git a/.gitignore b/.gitignore index e69de29..4469086 100644 --- a/.gitignore +++ b/.gitignore @@ -0,0 +1 @@ +dist.html diff --git a/justfile b/justfile new file mode 100644 index 0000000..7f9fec4 --- /dev/null +++ b/justfile @@ -0,0 +1,11 @@ +deploy_dir := "/var/www/html/dungeon.red/fantasyland" + +default: deploy + +compile: + bunx inline-source-cli index.html dist.html + +deploy: compile + mkdir -p {{deploy_dir}} + cp dist.html {{deploy_dir}}/index.html + @echo "deployed to {{deploy_dir}}/index.html"