diff --git a/action.yaml b/action.yaml index c928060..19650ad 100644 --- a/action.yaml +++ b/action.yaml @@ -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: diff --git a/run.ts b/run.ts index ffc52f1..cde0d58 100755 --- a/run.ts +++ b/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");