tasks for building and publishing the site
This commit is contained in:
parent
4569ecebc9
commit
a8801db464
26
.vscode/tasks.json
vendored
Normal file
26
.vscode/tasks.json
vendored
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue