Restore reasonable defaults for local deployment
This commit is contained in:
parent
f5c40e4723
commit
b16dedd9de
17
index.html
17
index.html
@ -245,11 +245,20 @@ __ __ _ __ ____ __
|
|||||||
function runBash()
|
function runBash()
|
||||||
{
|
{
|
||||||
// cmd, cwd, args and env are replaced by the Github actions workflow.
|
// cmd, cwd, args and env are replaced by the Github actions workflow.
|
||||||
|
var cmd = CMD;
|
||||||
|
var args = ARGS;
|
||||||
|
var env = ENV;
|
||||||
|
var cwd = CWD;
|
||||||
|
// Reasonable defaults for local deployments
|
||||||
|
// cmd = "/bin/bash";
|
||||||
|
// args = ["--login"];
|
||||||
|
// env = ["HOME=/home/user", "TERM=xterm", "USER=user", "SHELL=/bin/bash", "EDITOR=vim", "LANG=en_US.UTF-8", "LC_ALL=C"];
|
||||||
|
// cwd = "/home/user";
|
||||||
const structure = {
|
const structure = {
|
||||||
cmd: CMD,
|
cmd: cmd,
|
||||||
args: ARGS,
|
args: args,
|
||||||
env: ENV,
|
env: env,
|
||||||
cwd: CWD
|
cwd: cwd
|
||||||
}
|
}
|
||||||
if (typeof SharedArrayBuffer === "undefined")
|
if (typeof SharedArrayBuffer === "undefined")
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user