This commit is contained in:
@@ -13,9 +13,7 @@ jobs:
|
|||||||
uses: gitea.com/actions/checkout@v4
|
uses: gitea.com/actions/checkout@v4
|
||||||
|
|
||||||
- name: Build and Deploy Bot
|
- name: Build and Deploy Bot
|
||||||
run: |
|
run: docker compose up -d --build
|
||||||
# Запускаем сборку и деплой прямо через сокет хоста
|
|
||||||
docker compose up -d --build
|
|
||||||
|
|
||||||
- name: Clean up old images
|
- name: Clean up old images
|
||||||
run: docker image prune -f
|
run: docker image prune -f
|
||||||
-19
@@ -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"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user