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