f all that just deploy
All checks were successful
Build and Push Docker Images / Build and Push Docker Images (push) Successful in 2m37s

This commit is contained in:
Shihaam Abdul Rahman 2025-04-12 03:33:30 +05:00
parent c589798cf3
commit 8670023233
Signed by: shihaam
GPG Key ID: 6DA2E87EBC227636

View File

@ -38,8 +38,4 @@ jobs:
- name: Deploy production - name: Deploy production
if: github.event_name != 'pull_request' if: github.event_name != 'pull_request'
run: | run: ssh root@10.0.1.5 -t "cd /mnt && docker compose pull portal-ui portal-ui && docker compose up -d portal-ui portal-ui"
eval "$(ssh-agent -s)"
echo ${{ secrets.SSH_PRIVATE_KEY }}
ssh-keyscan -H 10.0.1.5 >> ~/.ssh/known_hosts
ssh root@10.0.1.5 -t "cd /mnt && docker compose pull portal-ui portal-ui && docker compose up -d portal-ui portal-ui"