Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
themrinalsinha committed Sep 6, 2024
1 parent 623a1ad commit 5b00731
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/

0 comments on commit 5b00731

Please sign in to comment.