fix: reverted rsync in action
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m14s

This commit is contained in:
2025-09-24 18:21:37 +02:00
parent 1ea76ef718
commit 28987cdb2e

View File

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