Add attributes for demonstation purposes

This commit is contained in:
Luca Bosin
2023-08-18 20:47:03 +02:00
parent d12462222f
commit 6ae22b7a9c
14 changed files with 84 additions and 113 deletions

30
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,30 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "Build & Deploy",
"type": "shell",
"command": "npm run build && rsync -arzP --progress --delete-after --force --update --inplace --times ./build ./package.json ./package-lock.json root@f.bosin.ch:/home/sveltekit"
},
{
"label": "Restart Server",
"type": "shell",
"command": "ssh f.bosin.ch systemctl restart bosin-files"
},
{
"label": "Full Deploy",
"dependsOn": [
"Build & Deploy"
],
"type": "shell",
"command": "ssh f.bosin.ch systemctl restart bosin-files",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
}
]
}