Add simple deploy script

This commit is contained in:
Jared Miller 2025-12-25 09:43:12 -05:00
parent 0d0ab17f3e
commit bf3d6dcc0d
Signed by: shmup
GPG key ID: 22B5C6D66A38B06C
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"