set up publishing

This commit is contained in:
Kaan Barmore-Genç 2022-04-03 23:13:54 -04:00
parent 6e7e40e9e0
commit 2782f20936
2 changed files with 26 additions and 0 deletions

View file

@ -100,3 +100,4 @@ publishing:
enableHashesForFMTags: false enableHashesForFMTags: false
enableRandomlyColoredTags: true enableRandomlyColoredTags: true
enablePrettyLinks: true enablePrettyLinks: true
assetsPrefix: "/recipes"

25
notes/.vscode/tasks.json vendored Normal file
View 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": []
},
]
}