Add automatic uploading and fix gemfile

This commit is contained in:
Michael Fabian 'Xaymar' Dirks
2022-01-11 06:09:20 +01:00
parent 3bbec65141
commit 13c23f864e
2 changed files with 43 additions and 31 deletions
+41 -29
View File
@@ -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
View File
@@ -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)