Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhrumil-Gohil committed Sep 3, 2024
1 parent 9cf1e18 commit a9e5f19
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/deployapp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 -v StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem -r /tmp/react-app ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }}:/tmp/react-app 2>&1 | tee /tmp/scp_error.log
scp -v -i /tmp/react-app/ec2-key.pem -r /tmp/react-app ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }}:/tmp/react-app 2>&1 | tee /tmp/scp_error.log
ssh -o StrictHostKeyChecking=no -i /tmp/react-app/ec2-key.pem ${{ secrets.EC2_USER }}@${{ secrets.EC2_PVT_HOST }} << 'INNER_EOF'
echo "Hello world"
if pgrep -f "docusaurus serve"; then
Expand All @@ -119,5 +119,5 @@ jobs:
sudo yarn install
sudo yarn build
sudo docusaurus serve
INNER_EOF
EOF
INNER_EOF
EOF

0 comments on commit a9e5f19

Please sign in to comment.