set up publishing
This commit is contained in:
parent
6e7e40e9e0
commit
2782f20936
|
@ -100,3 +100,4 @@ publishing:
|
|||
enableHashesForFMTags: false
|
||||
enableRandomlyColoredTags: true
|
||||
enablePrettyLinks: true
|
||||
assetsPrefix: "/recipes"
|
||||
|
|
25
notes/.vscode/tasks.json
vendored
Normal file
25
notes/.vscode/tasks.json
vendored
Normal file
|
@ -0,0 +1,25 @@
|
|||
{
|
||||
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
||||
// for the documentation about the tasks.json format
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"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": []
|
||||
},
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue