fix prima
This commit is contained in:
@ -16,7 +16,7 @@ services:
|
||||
- GIT_USERNAME=deploy
|
||||
- GIT_PASSWORD=L3Kr2R438u4F7
|
||||
- ADMIN_PASSWORD=kolichkisofia2024
|
||||
command: sh -c " cd /app && npm install && npx next build && npm run start-env; tail -f /dev/null"
|
||||
command: sh -c " cd /app && npm install && npx next build && npx prisma migrate deploy && npx prisma generate && npm run start-env; tail -f /dev/null"
|
||||
tty: true
|
||||
stdin_open: true
|
||||
restart: always
|
||||
|
@ -3,7 +3,7 @@
|
||||
if [ "$UPDATE_CODE_FROM_GIT" = "true" ]; then
|
||||
# Install necessary packages
|
||||
apk add git nano rsync
|
||||
echo "Updating code from git.d-popov.com...(as '$GIT_USERNAME')" > /app/logs/deploy.txt
|
||||
echo "Updating code from git.d-popov.com...(as '$GIT_USERNAME'). Branch: ${GIT_BRANCH:main}" > /app/logs/deploy.txt
|
||||
|
||||
# Create a temporary directory for the new clone
|
||||
rm -rf /tmp/clone
|
||||
|
Reference in New Issue
Block a user