summaryrefslogtreecommitdiff
path: root/git/hooks/microblog/post-receive
blob: 2627861d38bb34d2b8138ccd5d8ec46aa6fd57fb (plain)
1
2
3
4
5
6
7
8
#!/bin/bash
set -e
APP_DIR=/app/microblog
GIT_WORK_TREE=$APP_DIR git checkout -f
cd $APP_DIR
mkdir -p data
docker compose up -d --build
echo "Deploy complete: microblog"