var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');

var port = 3000;

var app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));

app.use(express.static(path.resolve("./dist")));

app.get('/', function(req, res){
  res.sendFile('index.html');
});

app.post('/deploy/', function(req, res){
  var spawn = require('child_process').spawn,
  deploy = spawn('sh', ['./update_server.sh']);
});

app.listen(port);
console.log("Server started on port " + port);
exports = module.exports = app;

var express = require('express');
var path = require('path');
var bodyParser = require('body-parser');

var port = 3000;

var app = express();
app.use(bodyParser.json());
app.use(bodyParser.urlencoded({extended: false}));

app.use(express.static(path.resolve("./dist")));

app.get('/', function(req, res){
  res.sendFile('index.html');
});

app.post('/deploy/', function(req, res){
  var spawn = require('child_process').spawn,
  deploy = spawn('sh', ['./update_server.sh']);
});

app.listen(port);
exports = module.exports = app;

Change to try and trigger webhook
Change to try and trigger webhook
