37 lines
802 B
JSON
37 lines
802 B
JSON
{
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
// for the documentation about the tasks.json format
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "preview site",
|
|
"type": "shell",
|
|
"command": "dendron publish dev",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/../"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "build site",
|
|
"type": "shell",
|
|
"command": "dendron publish export",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/../"
|
|
}
|
|
},
|
|
{
|
|
"label": "publish site",
|
|
"type": "shell",
|
|
"command": "rsync -av .next/out/ /var/www/recipes/",
|
|
"options": {
|
|
"cwd": "${workspaceFolder}/../"
|
|
},
|
|
"dependsOn": [
|
|
"build site"
|
|
],
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
}
|