Files
actions/github-deploy/bin/deployment-get-task

5 lines
157 B
Bash
Executable File

#!/bin/sh
BASEDIR=$(dirname "$0")
"${BASEDIR}"/JSON.sh < "${GITHUB_EVENT_PATH}" | grep "\[\"deployment\",\"task\"]" | cut -f2 | sed -e 's/^"//' -e 's/"$//'