Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
parent
1e61c6a087
commit
b20af54b80
2 changed files with 7 additions and 2 deletions
|
@ -11,7 +11,7 @@ inputs:
|
|||
project:
|
||||
description: 'The project name used to deploy'
|
||||
required: true
|
||||
entrypoint:
|
||||
entry-point:
|
||||
description: 'The entrypoint file for the deployment'
|
||||
required: true
|
||||
exclude:
|
||||
|
|
7
run.ts
7
run.ts
|
@ -25,7 +25,12 @@ Deno.env.set(
|
|||
),
|
||||
);
|
||||
|
||||
let temp: string = getEnv("Project", true, "An entrypoint is required");
|
||||
let temp = getEnv("ENTRY-POINT")
|
||||
if (temp) {
|
||||
Deno.env.set("ENTRYPOINT", temp);
|
||||
}
|
||||
|
||||
temp = getEnv("Project", true, "An entrypoint is required");
|
||||
const flags = [`-p=${temp}`];
|
||||
|
||||
temp = getEnv("EXCLUDE");
|
||||
|
|
Loading…
Reference in a new issue