Skip to content

Commit

Permalink
need to provide workdir to get text_file to work
Browse files Browse the repository at this point in the history
  • Loading branch information
cah-tyler-rasor committed Apr 15, 2021
1 parent 98426c5 commit 30dfd40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion out
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ actionTarget=$(evaluate "$(jq -r '.params.actionTarget // "https://concourse.ci"
title=$(evaluate "$(jq -r '.params.title // "Concourse CI"' < "${payload}")")

text=$(evaluate "$(jq -r '.params.text // ""' < "${payload}")")
text_file=$(evaluate "$(jq -r '.params.text_file // ""' < "${payload}")")
text_file="$1/"$(evaluate "$(jq -r '.params.text_file // ""' < "${payload}")")

# - 'text' always overrides 'text_file'
# - '_(NO MSG)_' being the default if neither are provded
Expand Down

0 comments on commit 30dfd40

Please sign in to comment.