Add simple deploy script

This commit is contained in:
Jared Miller 2025-12-25 09:43:12 -05:00
parent 34cb308f9f
commit df3e997f36
No known key found for this signature in database
2 changed files with 12 additions and 0 deletions

1
.gitignore vendored
View file

@ -0,0 +1 @@
dist.html

11
justfile Normal file
View file

@ -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"