new deploy code
Some checks failed
Deploy Smart Search Backend / deploy (push) Failing after 1s

This commit is contained in:
2026-01-17 17:17:44 +00:00
parent 5418f6f62d
commit de23bd3d9a

View File

@@ -9,11 +9,15 @@ jobs:
deploy:
runs-on: docker
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Clone repository
run: |
cd /tmp
rm -rf smart-search-back || true
git clone --depth 1 --branch main https://git.techease.ru/Smart-search/smart-search-back.git
- name: Build Docker image
run: |
cd /tmp/smart-search-back
docker build -t smart-search-backend:latest .
- name: Stop old container
@@ -29,6 +33,6 @@ jobs:
-p 127.0.0.1:9091:9091 \
smart-search-backend:latest
- name: Cleanup old images
- name: Cleanup
run: |
docker image prune -f