gitlab-ci: use passwordfile for deployment

This commit is contained in:
Johannes Loher 2020-12-27 20:45:14 +01:00
parent 21073f31b8
commit 04dc11d303

View file

@ -49,7 +49,7 @@ deploy:
dependencies:
- build
script:
- rsync --delete -az ./dist/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}.kruton.de:${DEPLOYMENT_PATH}
- rsync --password-file=DEPLOYMENT_PASSWORD --delete -az ./dist/ rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}.kruton.de:${DEPLOYMENT_PATH}
environment:
name: production
url: https://vtt.f3l.de/