Skip to content

Commit

Permalink
Merge pull request #15 from cah-tyler-rasor/text_file_fix
Browse files Browse the repository at this point in the history
need to provide workdir to get text_file to work
  • Loading branch information
navicore authored Apr 16, 2021
2 parents 98426c5 + 30dfd40 commit 150478d
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 150478d

Please sign in to comment.