Add deploy task

This commit is contained in:
Foster Hangdaan 2024-05-31 13:17:21 -04:00
parent dbe8a67e41
commit 5b7a9019c7
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -6,7 +6,8 @@
"lume": "echo \"import 'lume/cli.ts'\" | deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -", "lume": "echo \"import 'lume/cli.ts'\" | deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000' --allow-sys=networkInterfaces --allow-env='LUME_ENV,LUME_LIVE_RELOAD,LUME_LOGS,LUME_NOCACHE,LUME_DRAFTS' -",
"build": "deno task lume", "build": "deno task lume",
"serve": "deno task lume -s", "serve": "deno task lume -s",
"check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx" "check": "deno fmt --check && deno lint && deno check **/*.ts && deno check **/*.tsx",
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/pay.fosterhangdaan.com/"
}, },
"compilerOptions": { "compilerOptions": {
"jsx": "react-jsx", "jsx": "react-jsx",