This commit is contained in:
parent
4d8f43a684
commit
278c945573
@ -18,6 +18,8 @@ jobs:
|
|||||||
ls -lha
|
ls -lha
|
||||||
printf "%s" "${{ secrets.ID_ED25519 }}" > ./id_ed25519
|
printf "%s" "${{ secrets.ID_ED25519 }}" > ./id_ed25519
|
||||||
chmod 600 ./id_ed25519 # Set proper permissions
|
chmod 600 ./id_ed25519 # Set proper permissions
|
||||||
|
eval "$(ssh-agent -s)"
|
||||||
|
ssh-add ./id_ed25519
|
||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y rsync
|
apt-get install -y rsync
|
||||||
rsync -avz --delete --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ./id_ed25519 -o StrictHostKeyChecking=no" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs
|
rsync -avz --delete --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ./id_ed25519 -o StrictHostKeyChecking=no" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs
|
||||||
|
Loading…
Reference in New Issue
Block a user