From efa62bfe21caf93e0f686d9e49a0abce5e8c26c5 Mon Sep 17 00:00:00 2001 From: Samuel Osei Kwakye Date: Tue, 8 Aug 2023 14:45:55 +0000 Subject: [PATCH] Deploy to Droplet Signed-off-by: Samuel Osei Kwakye --- .github/workflows/angular_workflow.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/angular_workflow.yml b/.github/workflows/angular_workflow.yml index 17c5b6f..83ae9a2 100644 --- a/.github/workflows/angular_workflow.yml +++ b/.github/workflows/angular_workflow.yml @@ -34,7 +34,7 @@ jobs: - name: Deploy to Droplet run: | - ssh -o StrictHostKeyChecking=no ${{secrets.DROPLET_USERNAME}}@${{secrets.DROPLET_IP}} 'rm -rf /var/www/html/*' - scp -o StrictHostKeyChecking=no -r dist/* ${{secrets.DROPLET_USERNAME}}@${{secrets.DROPLET_IP}}:/var/www/html/ + ssh -o StrictHostKeyChecking=no ${{secrets.DROPLET_USERNAME}}@${{secrets.DROPLET_IP}} 'rm -rf /var/www/aquametrics.net/*' + scp -o StrictHostKeyChecking=no -r dist/* ${{secrets.DROPLET_USERNAME}}@${{secrets.DROPLET_IP}}:/var/www/aquametrics.net/