updated build file with ssh and rsync
This commit is contained in:
parent
7ad4f6b811
commit
543e939e02
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ deploy:
|
|||
- 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"
|
||||
- sshpass -p "$PASS" rsync -avz -e "ssh -o StrictHostKeyChecking=no" out/ParchLinux-cosmic-latest.iso parch@$SSH_ROOT:/srv/http/cosmic/
|
||||
- sshpass -p "$PASS" scp -o StrictHostKeyChecking=no out/ParchLinux-cosmic-latest.iso parch@$SSH_ROOT:/srv/http/cosmic
|
||||
rules:
|
||||
- if: $CI_COMMIT_TAG
|
||||
dependencies:
|
||||
|
|
Loading…
Add table
Reference in a new issue