Files
actions/github-deploy/bin/deployment-get-environment
2019-01-10 13:44:30 +01:00

5 lines
160 B
Bash
Executable File

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