fix: reverted rsync in action
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m14s
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m14s
This commit is contained in:
@@ -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}}
|
||||||
|
|||||||
Reference in New Issue
Block a user