Files
mozimo.in/deploy.sh
Amritanshu 7b1ee49d11 Added google tag
Added ansible
Added deploy.sh
2025-10-04 14:53:45 +00:00

14 lines
287 B
Bash
Executable File

#!/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