Update task permissions

Allow import for certain hosts.
This commit is contained in:
Foster Hangdaan 2024-12-11 18:30:09 -05:00
parent 5b30cc7424
commit 2badf404e2
Signed by: foster
GPG key ID: E48D7F49A852F112

View file

@ -8,9 +8,9 @@
]
},
"tasks": {
"build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-sys=networkInterfaces --deny-env lume.ts",
"check": "deno fmt --check && deno lint && deno check .",
"serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-sys=networkInterfaces --deny-env lume.ts -s",
"build": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts",
"check": "deno fmt --check && deno lint && deno check --allow-import=code.fosterhangdaan.com,deno.land,jsr.io .",
"serve": "deno run --allow-write='.' --allow-read='.' --allow-net='deno.land,cdn.deno.land,esm.sh,0.0.0.0:3000,jsr.io,lumeland.github.io,code.fosterhangdaan.com' --allow-import=code.fosterhangdaan.com,deno.land,jsr.io --allow-sys=networkInterfaces --deny-env lume.ts -s",
"deploy": "rsync -avh --progress --delete ./_site/ podman:/srv/www/fosterhangdaan.com/"
},
"imports": {