Websites/bin/update

6 lines
171 B
Bash
Executable File

#!/usr/bin/env sh
git pull
docker compose -f docker-compose.prod.yml up -d --no-deps --build
docker compose -f docker-compose.prod.yml restart
nginx -t && nginx -s reload