Skip to content

Commit

Permalink
Deploy to Droplet
Browse files Browse the repository at this point in the history
Signed-off-by: Samuel Osei Kwakye <[email protected]>
  • Loading branch information
Kwakyesamuelosei committed Aug 8, 2023
1 parent d75c9f1 commit efa62bf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/angular_workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit efa62bf

Please sign in to comment.