Very basic initial auto-deploy script setup

This commit is contained in:
Dane Everitt 2016-02-05 23:41:16 -05:00
parent 47abad4a61
commit a9ced7d474
4 changed files with 304 additions and 1 deletions

View file

@ -45,6 +45,11 @@ class NodesController extends Controller
//
}
public function getScript(Request $request, $id)
{
return response()->view('admin.nodes.remote.deploy', [ 'node' => Models\Node::findOrFail($id) ])->header('Content-Type', 'text/plain');
}
public function getIndex(Request $request)
{
return view('admin.nodes.index', [