From b9801d3088d9f43fdb5d49c09bde9c2f2d2da26d Mon Sep 17 00:00:00 2001 From: Taynan Souza Date: Fri, 13 May 2022 15:49:00 -0300 Subject: [PATCH] Allow setting description for a build (#4) --- action.yml | 5 ++++- entrypoint.sh | 2 +- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index f37eb1d..61e270f 100644 --- a/action.yml +++ b/action.yml @@ -8,9 +8,12 @@ inputs: app: description: Convox app name required: true + description: + description: Convox build description + required: false outputs: release: description: Release ID of the created build runs: using: docker - image: Dockerfile \ No newline at end of file + image: Dockerfile diff --git a/entrypoint.sh b/entrypoint.sh index 9a39bd3..f590936 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,7 +1,7 @@ #!/bin/sh echo "Building" export CONVOX_RACK=$INPUT_RACK -release=$(convox build --app $INPUT_APP --id) +release=$(convox build --app $INPUT_APP --description "$INPUT_DESCRIPTION" --id) if [ -z "$release" ] then echo "Build failed"