Skip to content

Commit 8a7a7be

Browse files
author
=
committed
upgrade the upgrade script
1 parent b231639 commit 8a7a7be

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

task.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,5 +12,5 @@ if [ -f /home/app/web/.env ]; then
1212
else
1313
echo "No .env file found, env will not be set" > /proc/1/fd/1 2>&1
1414
fi
15-
15+
echo running $1 > /proc/1/fd/1 2>&1
1616
/usr/local/bin/python /home/app/web/manage.py $1 > /proc/1/fd/1 2>&1

update.sh

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
#!/bin/bash
22
git pull
3-
docker compose up -d --build
3+
docker compose build
4+
docker compose up -d
5+

0 commit comments

Comments
 (0)