Skip to content

Commit

Permalink
Update deploy script
Browse files Browse the repository at this point in the history
  • Loading branch information
blue-moon22 committed Apr 5, 2022
1 parent f342f0f commit b952cd7
Show file tree
Hide file tree
Showing 2 changed files with 39,328 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,17 @@
# Deploy a release of the Bentley Group app.

# check args count
if [ $# -ne 3 ]; then
echo "Usage: $0 <version> <remote user> <deployment host address>"
if [ $# -ne 4 ]; then
echo "Usage: $0 <version> <remote user> <deployment host address> <docker user>"
exit 1
fi

VERSION=$1
REMOTE_USER=$2
REMOTE_HOST=$3
DOCKER_USER=$4
APP=bentley-app
IMAGE_URL=sangerpathogens/${APP}
IMAGE_URL=${DOCKER_USER}/${APP}
EXPOSED_PORT=8000

# Replace the running version
Expand Down
Loading

0 comments on commit b952cd7

Please sign in to comment.