add service
All checks were successful
Deploy Smart Search Backend Test / deploy (push) Successful in 1m54s
All checks were successful
Deploy Smart Search Backend Test / deploy (push) Successful in 1m54s
This commit is contained in:
@@ -33,7 +33,10 @@ jobs:
|
|||||||
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa
|
echo "${{ secrets.DEPLOY_KEY }}" > ~/.ssh/id_rsa
|
||||||
chmod 600 ~/.ssh/id_rsa
|
chmod 600 ~/.ssh/id_rsa
|
||||||
ssh-keyscan -H back.test-1xc5f.techease.ru >> ~/.ssh/known_hosts 2>/dev/null || true
|
ssh-keyscan -H back.test-1xc5f.techease.ru >> ~/.ssh/known_hosts 2>/dev/null || true
|
||||||
ssh -i ~/.ssh/id_rsa root@back.test-1xc5f.techease.ru 'cd /home/n8n && /usr/bin/docker compose up -d smart-search-backend-test'
|
ssh -i ~/.ssh/id_rsa root@back.test-1xc5f.techease.ru '
|
||||||
|
docker rm -f smart-search-backend-test 2>/dev/null || true
|
||||||
|
cd /home/n8n && /usr/bin/docker compose up -d smart-search-backend-test
|
||||||
|
'
|
||||||
|
|
||||||
- name: Done
|
- name: Done
|
||||||
run: echo "✅ Test backend deployed!"
|
run: echo "✅ Test backend deployed!"
|
||||||
|
|||||||
Reference in New Issue
Block a user