Skip to content
This repository has been archived by the owner on Apr 6, 2021. It is now read-only.

Commit

Permalink
Merge pull request #117 from TailorDev/deploy
Browse files Browse the repository at this point in the history
Add deploy script
  • Loading branch information
willdurand committed Apr 19, 2016
2 parents 02e5bf1 + 77543f5 commit 39fb789
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions bin/deploy
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/usr/bin/env bash

DEPLOY_SCRIPT=/app/scripts/monod/bin/deploy

if [[ ! -f "$DEPLOY_SCRIPT" ]] ; then
echo 'No deploy script found, aborting!'
exit 1
fi

export REPO_DIR="$(cd "$( dirname "${BASH_SOURCE[0]}" )/.." && pwd)"
exec "$DEPLOY_SCRIPT" "$@"

0 comments on commit 39fb789

Please sign in to comment.