diff --git a/.gitea/workflows/deploy.yml b/.gitea/workflows/deploy.yml index 9861060..a7e1f7d 100644 --- a/.gitea/workflows/deploy.yml +++ b/.gitea/workflows/deploy.yml @@ -13,9 +13,7 @@ jobs: uses: gitea.com/actions/checkout@v4 - name: Build and Deploy Bot - run: | - # Запускаем сборку и деплой прямо через сокет хоста - docker compose up -d --build + run: docker compose up -d --build - name: Clean up old images run: docker image prune -f \ No newline at end of file diff --git a/devbox.json b/devbox.json deleted file mode 100644 index 3165b8b..0000000 --- a/devbox.json +++ /dev/null @@ -1,19 +0,0 @@ -{ - "packages": [ - "python@3.11", - "ffmpeg@latest" - ], - "env": { - "VENV_DIR": ".venv" - }, - "shell": { - "init_hook": [ - "python -m venv $VENV_DIR", - "source $VENV_DIR/bin/activate", - "pip install -r requirements.txt" - ], - "scripts": { - "start": "python bot.py" - } - } -} \ No newline at end of file