Skip to content

Commit 5607bc7

Browse files
authored
Merge pull request #6 from convox/build-description
Allow setting description for a build
2 parents 0126c7f + b9801d3 commit 5607bc7

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

action.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,12 @@ inputs:
88
app:
99
description: Convox app name
1010
required: true
11+
description:
12+
description: Convox build description
13+
required: false
1114
outputs:
1215
release:
1316
description: Release ID of the created build
1417
runs:
1518
using: docker
16-
image: Dockerfile
19+
image: Dockerfile

entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/sh
22
echo "Building"
33
export CONVOX_RACK=$INPUT_RACK
4-
release=$(convox build --app $INPUT_APP --id)
4+
release=$(convox build --app $INPUT_APP --description "$INPUT_DESCRIPTION" --id)
55
if [ -z "$release" ]
66
then
77
echo "Build failed"

0 commit comments

Comments
 (0)