Added google tag
Added ansible Added deploy.sh
This commit is contained in:
13
deploy.sh
Executable file
13
deploy.sh
Executable file
@ -0,0 +1,13 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
|
||||
cd "$parent_path" || exit
|
||||
if [ 1 -eq "$#" ]
|
||||
then
|
||||
make build-production TAG="$1"
|
||||
else
|
||||
make build-production
|
||||
fi
|
||||
|
||||
cd "$parent_path/ansible" || exit
|
||||
ansible-playbook playbook.yml
|
||||
Reference in New Issue
Block a user