feat: changed upload program to rsync
Some checks failed
Gitea Actions Demo / Build (push) Failing after 13s

This commit is contained in:
2025-09-24 18:11:54 +02:00
parent b490042c20
commit 1ea76ef718

View File

@@ -25,10 +25,10 @@ jobs:
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
echo "HELOO" > ../test
sudo chmod 666 ../test
scp -i ../private.key -P ${{ secrets.BLOG_PORT }} ../test blog@madeio.net:/var/www/html/
rsync -a -e 'ssh -i ${{ github.workspace }}/../private.key -p ${{ secrets.BLOG_PORT }}' ../test blog@madeio.net:/var/www/html/
shell: bash
env:
SSH_PRIVATE_KEY: ${{secrets.BLOG_SSH_KEY}}
SSH_PRIVATE_KEY: ${{secrets.SSH_KEY}}
SSH_KNOWN_HOSTS: ${{secrets.SSH_KNOWN_HOSTS}}
- run: |
cd ${{ gitea.workspace }}