This commit is contained in:
@@ -32,8 +32,8 @@ jobs:
|
|||||||
mkdir -p ~/.ssh
|
mkdir -p ~/.ssh
|
||||||
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 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@test-1xc5f.techease.ru 'cd /home/n8n && /usr/bin/docker compose up -d smart-search-backend'
|
ssh -i ~/.ssh/id_rsa root@back.test-1xc5f.techease.ru 'cd /home/n8n && /usr/bin/docker compose up -d smart-search-backend'
|
||||||
|
|
||||||
- name: Done
|
- name: Done
|
||||||
run: echo "✅ Test backend deployed!"
|
run: echo "✅ Test backend deployed!"
|
||||||
|
|||||||
Reference in New Issue
Block a user