Add automatic uploading and fix gemfile
This commit is contained in:
Vendored
+41
-29
@@ -4,35 +4,7 @@
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build (Release)",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
"exec",
|
||||
"jekyll",
|
||||
"build",
|
||||
"--destination",
|
||||
"build"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Build (Development)",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
"exec",
|
||||
"jekyll",
|
||||
"build",
|
||||
"--trace",
|
||||
"--future",
|
||||
"--unpublished",
|
||||
"--drafts"
|
||||
],
|
||||
"group": "build"
|
||||
},
|
||||
{
|
||||
"label": "Serve (Development)",
|
||||
"label": "Serve",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
@@ -48,6 +20,46 @@
|
||||
],
|
||||
"group": "none",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build",
|
||||
"type": "shell",
|
||||
"command": "bundle",
|
||||
"args": [
|
||||
"exec",
|
||||
"jekyll",
|
||||
"build",
|
||||
"--destination",
|
||||
"build"
|
||||
],
|
||||
"group": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Upload",
|
||||
"type": "process",
|
||||
"options": {
|
||||
"cwd": "build",
|
||||
},
|
||||
"command": "wsl",
|
||||
"args": [
|
||||
"-e",
|
||||
"/usr/bin/rsync",
|
||||
"-v",
|
||||
"-P",
|
||||
"-a",
|
||||
"--delete",
|
||||
".",
|
||||
"www-data@web.svc.xaymar.com:/var/www/com.xaymar.www/"
|
||||
],
|
||||
"group": "build",
|
||||
"problemMatcher": []
|
||||
},
|
||||
{
|
||||
"label": "Build & Upload",
|
||||
"dependsOn": [ "Build", "Upload" ],
|
||||
"group": "build",
|
||||
"problemMatcher": []
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user