This commit is contained in:
Kristian Freeman 2019-10-11 14:37:26 -05:00
parent 698bc9db77
commit 16beb42605

View file

@ -7,8 +7,9 @@ export NVM_DIR="/github/workspace/nvm"
export WRANGLER_HOME="/github/workspace" export WRANGLER_HOME="/github/workspace"
# h/t https://github.com/elgohr/Publish-Docker-Github-Action # h/t https://github.com/elgohr/Publish-Docker-Github-Action
function sanitize () { sanitize() {
if [ -z "${1}" ]; then if [ -z "${1}" ]
then
>&2 echo "Unable to find the ${2}. Did you set with.${2}?" >&2 echo "Unable to find the ${2}. Did you set with.${2}?"
exit 1 exit 1
fi fi