Skip to content

Commit

Permalink
Allow setting description for a build (#4)
Browse files Browse the repository at this point in the history
  • Loading branch information
Twsouza committed May 13, 2022
1 parent 0126c7f commit b9801d3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
image: Dockerfile
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
@@ -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"
Expand Down

0 comments on commit b9801d3

Please sign in to comment.