Добавлен автодеплой
deploy / deploy (push) Successful in 3s

This commit is contained in:
GDRN committed 2026-10-15 00:07:48 +00:00
1 parent 6a7f405bd4
commit ea902c15a4
1 file changed
+15
+15
View File
@@ -0,0 +1,15 @@
name: deploy
on:
push:
branches: [main]
jobs:
deploy:
runs-on: host
steps:
- name: Обновить код и пересобрать контейнер
run: |
cd /opt/straders-site
git pull --ff-only
docker compose up -d --build
docker image prune -f