./deploy should only run from master branch
Enforce that.
branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
Enforce that.
branch=$(git branch | sed -n -e 's/^\* \(.*\)/\1/p')
Like this? Fund us! Your patronage helps keep us independent and going.