gitea pipeline rsync

This commit is contained in:
albert 2024-11-07 22:50:08 +01:00
parent 9839c44083
commit bc2a3c45ed

View File

@ -16,5 +16,5 @@ jobs:
- name: rclone to remote
run: |
ls -lha
curl https://rclone.org/install.sh | sudo bash
rclone --version
echo ${{ secrets.ID_ED25519 }} > ~/.ssh/id_ed25519
rsync -avz --delete --exclude=".git" --exclude=".env" --exclude="storage/logs/laravel.log" --exclude="laravel/node_modules" -e "ssh -i ~/.ssh/id_ed25519" ./ albert@217.160.204.114:/var/www/vhosts/electricistasdana.com/httpdocs