Compare commits

..

No commits in common. "5863c295b7a2d93b34539d29b818afc5fc237f12" and "c2a7724b0c1c2b939591bba54550588dd77a256b" have entirely different histories.

1 changed files with 2 additions and 5 deletions

View File

@ -27,13 +27,10 @@ jobs:
- name: Deploy to Server via rsync
run: |
sudo apt-get update -qq
sudo apt-get install -y -qq rsync openssh-client
mkdir -p ~/.ssh
echo "${{ secrets.SSH_PRIVATE_KEY }}" > ~/.ssh/id_rsa
chmod 600 ~/.ssh/id_rsa
rsync -avz --delete \
--exclude=".git/" \
--exclude=".gitea/" \
@ -47,4 +44,4 @@ jobs:
--exclude="tools/" \
-e "ssh -p ${{ secrets.SSH_PORT }} -i ~/.ssh/id_rsa -o StrictHostKeyChecking=no" \
./ \
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.TARGET_DIR }}
${{ secrets.SSH_USER }}@${{ secrets.SSH_HOST }}:${{ secrets.TARGET_DIR }}