Use native Rsync protocol for deploy

This commit is contained in:
Anthony Wang 2022-01-20 18:13:05 -06:00
parent a7bc008f04
commit 071931281f
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -14,6 +14,5 @@ pipeline:
deploy:
image: none
commands:
- eval $(ssh-agent -s)
- ssh-add <(echo "$SSH_KEY")
- rsync -e ssh -r website/public/* ta180m@localhost:/srv/http/pages/ta180m
- rsync -r website/public/* ta180m@localhost:/srv/http/pages/ta180m
secrets: [ rsync_password ]