From 5b007311c45d540f5594e88b2b0032720a9f19b5 Mon Sep 17 00:00:00 2001 From: Mrinal Sinha Date: Sat, 7 Sep 2024 00:18:48 +0530 Subject: [PATCH] ... --- .github/workflows/deploy.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 673b037..0c77f1a 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -20,9 +20,7 @@ jobs: chmod 600 ~/.ssh/id_rsa ssh-keyscan ${{ secrets.DL_HOST }} >> ~/.ssh/known_hosts chmod 644 ~/.ssh/known_hosts - cd $GITHUB_WORKSPACE - ls -la - name: Deploy to server run: | - rsync -avz --delete --exclude '.git' --exclude '.github' --exclude 'README.md' --exclude 'LICENSE' --exclude '.gitignore' --exclude 'deploy.yml' --exclude 'hosted_files.ngix' . ${{ secrets.HOST_USERNAME }}@${{ secrets.DL_HOST }}:/srv/hosted_files/x/ + rsync -avz --delete --exclude '.git' --exclude '.github' --exclude 'README.md' --exclude 'LICENSE' --exclude '.gitignore' --exclude 'deploy.yml' --exclude 'hosted_files.ngix' -e "ssh -i ~/.ssh/id_rsa" . ${{ secrets.HOST_USERNAME }}@${{ secrets.DL_HOST }}:/srv/hosted_files/x/