From 306907a5181261aefd61e8620fce280fdd9b62ba Mon Sep 17 00:00:00 2001 From: Dhrumil-Gohil Date: Wed, 4 Sep 2024 00:58:09 +0530 Subject: [PATCH] update --- .github/workflows/deployapp.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/deployapp.yml b/.github/workflows/deployapp.yml index 314d556..1e94013 100644 --- a/.github/workflows/deployapp.yml +++ b/.github/workflows/deployapp.yml @@ -109,7 +109,7 @@ jobs: ssh -o StrictHostKeyChecking=no -i ~/ec2-key.pem ${{ secrets.EC2_USER }}@${{ secrets.EC2_HOST }} << 'EOF' ssh -o StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }} "mkdir -p /tmp/react-app" - scp -o StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem -r /tmp/react-app/* ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }}: /tmp/react-app + scp -o StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem -r /tmp/react-app/* ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }}:/tmp/react-app ssh -o StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }} << 'INNER_EOF' if pgrep -f "docusaurus serve"; then pkill -f "docusaurus serve"