workaround a GHA issue
Some checks failed
ci / docker (push) Failing after 31s

Signed-off-by: Sam Therapy <sam@samtherapy.net>
This commit is contained in:
Sam Therapy 2024-03-27 21:51:32 +01:00
parent 1e61c6a087
commit b20af54b80
Signed by: sam
GPG key ID: 4D8B07C18F31ACBD
2 changed files with 7 additions and 2 deletions

View file

@ -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
View file

@ -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");