Deployment added.

This commit is contained in:
2026-09-02 17:45:38 +00:00
parent 1a9c69fc9d
commit c078745bc0
15 changed files with 235 additions and 18 deletions
Executable
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
set -euo pipefail
parent_path=$( cd "$(dirname "${BASH_SOURCE[0]}")" || exit ; pwd -P )
cd "$parent_path" || exit
echo "========================================================"
echo " Building & Uploading Docker Image"
echo "========================================================"
current_version="${1:-latest}"
make build-production TAG="$current_version"
echo ""
echo "========================================================"
echo " Executing Ansible Deployment"
echo "========================================================"
cd "$parent_path/ansible" || exit
ansible-playbook playbook.yml -e "tag=$current_version"