test: debug deployment

pull/6325/head
Kamran Ahmed 4 months ago
parent 774d38b911
commit 55b3623753
  1. 2
      .github/workflows/deployment.yml

@ -47,7 +47,7 @@ jobs:
ssh-private-key: ${{ secrets.EC2_PRIVATE_KEY }} ssh-private-key: ${{ secrets.EC2_PRIVATE_KEY }}
- name: Deploy app to EC2 - name: Deploy app to EC2
run: | run: |
rsync -apvz --delete --no-times --exclude "configuration" -e "ssh -o StrictHostKeyChecking=no" -p ./ ${{ secrets.EC2_USERNAME }}@${{ secrets.EC2_HOST }}:/var/www/roadmap.sh/ rsync -apvz --delete --no-times --exclude "configuration" -e "ssh -o StrictHostKeyChecking=no" -p ./ ${{ secrets.EC2_USERNAME }}@${{ secrets.EC2_HOST }}:/var/www/v2.roadmap.sh/
- name: Restart PM2 - name: Restart PM2
uses: appleboy/ssh-action@master uses: appleboy/ssh-action@master
with: with:

Loading…
Cancel
Save