tasks for building and publishing the site

This commit is contained in:
Kaan Barmore-Genç 2022-04-11 00:01:19 -04:00
parent 4569ecebc9
commit a8801db464
1 changed files with 26 additions and 0 deletions

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

@ -0,0 +1,26 @@
{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",
"tasks": [
{
"label": "dev",
"type": "shell",
"command": "hugo server -D",
"problemMatcher": []
},
{
"label": "build",
"type": "shell",
"command": "hugo -D",
"problemMatcher": []
},
{
"label": "publish",
"type": "shell",
"command": "rsync -av ./public/ /var/www/",
"problemMatcher": [],
"dependsOn": "build"
}
]
}