fix: permissions in action
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m17s
All checks were successful
Gitea Actions Demo / Build (push) Successful in 1m17s
This commit is contained in:
@@ -24,7 +24,7 @@ jobs:
|
|||||||
sudo chmod 600 ../private.key
|
sudo chmod 600 ../private.key
|
||||||
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
echo "$SSH_KNOWN_HOSTS" > ~/.ssh/known_hosts
|
||||||
echo "HELOO" > ../test
|
echo "HELOO" > ../test
|
||||||
sudo chmod 600 ../test
|
sudo chmod 666 ../test
|
||||||
scp -i ../private.key -P ${{ secrets.BLOG_PORT }} ../test blog@madeio.net:/var/www/html/
|
scp -i ../private.key -P ${{ secrets.BLOG_PORT }} ../test blog@madeio.net:/var/www/html/
|
||||||
shell: bash
|
shell: bash
|
||||||
env:
|
env:
|
||||||
|
|||||||
Reference in New Issue
Block a user