gitlab-ci: Add deployment

This commit is contained in:
Johannes Loher 2020-12-27 19:31:33 +01:00
parent 5d35eef623
commit 8ae067bcec

View file

@ -48,8 +48,7 @@ deploy:
dependencies: dependencies:
- build - build
script: script:
- echo "Deploying to production..." - rsync --delete -az ./dist/* rsync://${DEPLOYMENT_USER}@${DEPLOYMENT_SERVER}.kruton.de:${DEPLOYMENT_PATH}
- ls dist
environment: environment:
name: production name: production
url: https://vtt.f3l.de/ url: https://vtt.f3l.de/