Add simple deploy script
This commit is contained in:
parent
3b41d48b9b
commit
77ddefc3d1
2 changed files with 12 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -0,0 +1 @@
|
||||||
|
dist.html
|
||||||
11
justfile
Normal file
11
justfile
Normal 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"
|
||||||
Loading…
Reference in a new issue