Add automatic uploading and fix gemfile
This commit is contained in:
Vendored
+41
-29
@@ -4,35 +4,7 @@
|
|||||||
"version": "2.0.0",
|
"version": "2.0.0",
|
||||||
"tasks": [
|
"tasks": [
|
||||||
{
|
{
|
||||||
"label": "Build (Release)",
|
"label": "Serve",
|
||||||
"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)",
|
|
||||||
"type": "shell",
|
"type": "shell",
|
||||||
"command": "bundle",
|
"command": "bundle",
|
||||||
"args": [
|
"args": [
|
||||||
@@ -48,6 +20,46 @@
|
|||||||
],
|
],
|
||||||
"group": "none",
|
"group": "none",
|
||||||
"problemMatcher": []
|
"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": []
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-2
@@ -15,7 +15,7 @@ GEM
|
|||||||
em-websocket (0.5.3)
|
em-websocket (0.5.3)
|
||||||
eventmachine (>= 0.12.9)
|
eventmachine (>= 0.12.9)
|
||||||
http_parser.rb (~> 0)
|
http_parser.rb (~> 0)
|
||||||
ffi (1.15.4-x64-mingw32)
|
ffi (1.15.5-x64-mingw32)
|
||||||
forwardable-extended (2.6.0)
|
forwardable-extended (2.6.0)
|
||||||
http_parser.rb (0.8.0)
|
http_parser.rb (0.8.0)
|
||||||
i18n (1.8.11)
|
i18n (1.8.11)
|
||||||
@@ -35,7 +35,7 @@ GEM
|
|||||||
rouge (~> 3.0)
|
rouge (~> 3.0)
|
||||||
safe_yaml (~> 1.0)
|
safe_yaml (~> 1.0)
|
||||||
terminal-table (~> 2.0)
|
terminal-table (~> 2.0)
|
||||||
jekyll-feed (0.15.1)
|
jekyll-feed (0.16.0)
|
||||||
jekyll (>= 3.7, < 5.0)
|
jekyll (>= 3.7, < 5.0)
|
||||||
jekyll-paginate-v2 (3.0.0)
|
jekyll-paginate-v2 (3.0.0)
|
||||||
jekyll (>= 3.0, < 5.0)
|
jekyll (>= 3.0, < 5.0)
|
||||||
|
|||||||
Reference in New Issue
Block a user