updated build file with ssh and rsync

This commit is contained in:
Sohrab Behdani 2024-09-16 13:00:53 +03:30
parent cd81e1ada8
commit 7ad4f6b811

View file

@ -17,7 +17,7 @@ deploy:
stage: deploy
script:
- echo "Installing sshpass"
- pacman -Syu --noconfirm sshpass
- pacman -Syu --noconfirm sshpass rsync
- echo "Deleting old ISO files from remote directory"
- sshpass -p "$PASS" ssh -o StrictHostKeyChecking=no parch@$SSH_ROOT "rm -f /srv/http/cosmic/*.iso"
- echo "Deploying new ISO via rsync"