Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
executable file 13 lines (9 sloc) 251 Bytes
# Trigger mup deploy if current branch is 'prod'
#!/bin/bash
echo "On branch '$TRAVIS_BRANCH'."
if [ "$TRAVIS_BRANCH" == "prod" ]; then
echo "Triggering Mup deployment..."
mup deploy
else
echo "Not deploying. Use 'prod' branch to deploy."
fi