File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 2121 # Копируем свежие версии конфигов из временной папки (_work)
2222 # в постоянную папку проекта (/opt/apps/relaxy).
2323 # Флаг --delete удалит старые файлы, если вы их переименовали или удалили.
24- sudo rsync -av --delete ${{ github.workspace }}/ /opt/apps/relaxy/ --exclude 'data'
24+ sudo rsync -av --delete ${{ github.workspace }}/ /opt/apps/relaxy/ --exclude 'data' --exclude '.git'
2525
2626 - name : Deploy services from permanent directory
2727 env :
3232 cd /opt/apps/relaxy
3333
3434 # Запускаем docker-compose уже отсюда.
35- sudo -E docker compose up -d --build --force-recreate --remove-orphans --wait nginx
35+ sudo -E docker compose up -f docker-compose.yml - d --build --force-recreate --remove-orphans --wait nginx
You can’t perform that action at this time.
0 commit comments