All looks good
This commit is contained in:
1 parent
b9efd148e7
commit
615d948b76
2 files changed
+4
-3
No files matched your search
@@ -526,7 +526,7 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
switch (requestParameters[2]) { // switch by command
|
||||
case 'Contribute': {
|
||||
try {
|
||||
let GITHUB
|
||||
let GITHUB
|
||||
try {
|
||||
GITHUB = require('../Github.json')
|
||||
} catch (err) {
|
||||
@@ -549,9 +549,10 @@ exports.newHttpInterface = function newHttpInterface(WEB_SERVER, DATA_FILE_SERVE
|
||||
const remote = `https://${GITHUB.user}:${GITHUB.password}@${GITHUB.repository}`;
|
||||
|
||||
git
|
||||
.pull()
|
||||
.add('./*')
|
||||
.commit(commitMessage)
|
||||
.push(remote)
|
||||
.push(remote, 'in-app-documentation')
|
||||
|
||||
//function onCommit(err) {
|
||||
// if (err) { throw err }
|
||||
|
||||
+1
-1
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"topic": "App Commands Errors Topic",
|
||||
"topic": "App Commands Errors",
|
||||
"pageNumber": "2",
|
||||
"type": "App Error Github Credentials Missing",
|
||||
"definition": {
|
||||
Reference in new issue
Block a user