fix: trying to fix auto-pulls 22 !
This commit is contained in:
11
deploy-host.sh
Normal file
11
deploy-host.sh
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
set -e
|
||||||
|
|
||||||
|
PROJECT=/home/bellsystems/bellsystems-cp
|
||||||
|
|
||||||
|
echo "Deploy started at $(date)"
|
||||||
|
cd "$PROJECT"
|
||||||
|
git fetch origin main
|
||||||
|
git reset --hard origin/main
|
||||||
|
docker compose up -d --build
|
||||||
|
echo "Deploy finished at $(date)"
|
||||||
Reference in New Issue
Block a user