13 lines
194 B
Bash
Executable File
13 lines
194 B
Bash
Executable File
#!/bin/bash
|
|
set -e
|
|
cd "$(dirname "$0")"
|
|
|
|
# Git commit if message provided
|
|
if [ -n "$1" ] && [ -d .git ]; then
|
|
git add -A
|
|
git commit -m "$1"
|
|
git push
|
|
fi
|
|
|
|
docker compose up -d --build
|